I tried installing Ruby on Rails related plugin with vim-plug

Overview

I usually use VS Code for Ruby on Rails development, but I wanted to use Vim asexually. Select vim-plug from several Vim Plugin Managers, I installed the plugin.

Local environment

Installation procedure

vim-plug download

$ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

Add the following Plugin to .vimrc

Describe file tree display plugin and rails related plugin

# .vimrc file tree, rails related plugins
call plug#begin()
Plug 'scrooloose/nerdtree', { 'on':  'NERDTreeToggle' }
Plug 'tpope/vim-rails'
Plug 'tpope/vim-endwise'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
call plug#end()

map <C-n> :NERDTreeToggle<CR>←← Show / hide the file tree <Ctrl+Mapping to n>

Start vim and install Plugin on .vimrc

Start vim and enter : PlugInstall image.png

Recommended Posts

I tried installing Ruby on Rails related plugin with vim-plug
I made a portfolio with Ruby On Rails
I tried DI with Ruby
Installing Ruby + Rails on Ubuntu 18.04 (rbenv)
I tried installing CentOS 8 on ESXi 6.7
I want to add a browsing function with ruby on rails
[Ruby on Rails] View test with RSpec
Notes on using FCM with Ruby on Rails
[Ruby on Rails] Controller test with RSpec
[Ruby on Rails] Model test with RSpec
Introducing Rspec with Ruby on Rails x Docker
I tried writing CRUD with Rails + Vue + devise_token_auth
Publish the app made with ruby on rails
I made blackjack with Ruby (I tried using minitest)
[Rails] Procedure for linking databases with Ruby On Rails
I tried installing docker on an EC2 instance
Determine the current page with Ruby on Rails
[Ruby on Rails] Upload multiple images with refile
I tried Getting Started with Gradle on Heroku
I understand Ruby on Rails params (with Hanshin Tigers poker faceman, Atsushi Nomi)
Ruby on Rails Elementary
Ruby on Rails basics
Ruby On Rails Association
[Ruby on Rails] Delete s3 images with Active Strage
Run Ruby on Rails RSpec tests with GitHub Actions
[Rails] I tried playing with the comment send button
[Ruby] I can't install puma on Mac [Rails, etc.]
I tried installing the Docker Integration plugin in IntelliJ
Solve the N + 1 problem with Ruby on Rails: acts-as-taggable-on
What I stumbled upon when installing Ruby on Ubuntu
Created RSS / Atom format sitemap with Ruby on Rails
Ruby on rails learning record -2020.10.03
Portfolio creation Ruby on Rails
Ruby on rails learning record -2020.10.04
[Rails] I tried to create a mini app with FullCalendar
[Ruby on Rails] Debug (binding.pry)
Ruby on rails learning record -2020.10.05
Ruby on rails learning record -2020.10.09
Ruby on Rails config configuration
[Ruby on Rails] Add a column with a foreign key constraint
Ruby on Rails basic learning ①
[Ruby on Rails] about has_secure_password
Ruby on rails learning record-2020.10.07 ②
I tried Rails beginner [Chapter 1]
I tried automatic deployment with CircleCI + Capistrano + AWS (EC2) + Rails
[Ruby on Rails] Implement login function by add_token_to_users with API
[Apple login] Sign in with Apple implementation procedure (Ruby on Rails)
Commentary on partial! --Ruby on Rails
[Rails] I tried to implement batch processing with Rake task
I tried to automate LibreOffice Calc with Ruby + PyCall.rb (Ubuntu 18.04)
When I used Slick on Rails, it competed with Turbolinks.
Ruby on rails learning record-2020.10.07 ①
Cancel Ruby on Rails migration
I tried Rails beginner [Chapter 2]
I tried UPSERT with PostgreSQL.
Ruby on rails learning record -2020.10.06
[Ruby on Rails] Since I finished all Rails Tutorial, I tried to implement an additional "stock function"
I tried BIND with Docker
I tried Jets (ruby serverless)
Beginner Ruby on Rails What I learned is being summarized
I tried running WordPress with docker preview on M1 Mac.