Plugins asset for rubyists
File explorer
Class outline viewer
Fuzzy search
Grep
Find and replace
Syntax checker
Autocompletion
- vim-autocomplpop - automatic trigger complete popup menu
- cmdline-completion - command line completion
- vim-endwise - wisely add "end" in ruby, endfunction/endif/more in vim script, etc
Snippets
Ruby
Tests
Additional syntaxes and markup/programming languages
Git
- vim-gitgutter - shows a git diff in the gutter (sign column) and stages/undoes hunks
- vim-fugitive - git wrapper
- committia.vim - better editing on commit messages
- vim-extradite - git commit browser
Refactoring tools
Other
- vim-rooter - changes Vim working directory to project root
- caw.vim - comment plugin
- delimitMate - insert mode auto-completion for quotes, parens, brackets, etc
- vim-pasta - pasting in Vim with indentation adjusted to destination context
- splitjoin.vim - changes the transition between multiline and single-line code
- vim-change-hash-syntax - changes Ruby hash syntax
- vim-trailing-whitespace - highlights trailing whitespace in red and provides command to fix it
- vim-signature - toggle, display and navigate marks
- tabline.vim - configure tab labels
- vim-searchindex - display number of search matches & index of a current match
- file-line - enabling opening a file in a given line
- emmet-vim - provides support for expanding abbreviations similar to emmet
- MatchTag - highlights the matching HTML tag when the cursor is positioned on a tag
-
Copy plugins file to the vim config directory
curl -o ~/.vim/plugins.vim https://raw.githubusercontent.com/lucerion/vim-as-a-ruby-ide/master/vundle.vim
-
Add
source ~/.vim/plugins.vim
line betweencall vundle#begin()
andcall vundle#end()
-
Open vim and run
:PluginInstall
command
-
Copy setup scripts
curl -o pathogen.sh https://raw.githubusercontent.com/lucerion/vim-as-a-ruby-ide/master/pathogen.sh -o plugins.sh https://raw.githubusercontent.com/lucerion/vim-as-a-ruby-ide/master/plugins.sh
-
Make scripts executable
chmod 766 pathogen.sh plugins.sh
-
Run
./pathogen.sh
-
Copy plugins file to the vim config directory
curl -o ~/.vim/plugins.vim https://raw.githubusercontent.com/lucerion/vim-as-a-ruby-ide/master/plug.vim
-
Add
source ~/.vim/plugins.vim
line betweencall plug#begin()
andplug#end()
-
Open vim and run
:PlugInstall
command
-
Copy setup scripts
curl -o vim-packages.sh https://raw.githubusercontent.com/lucerion/vim-as-a-ruby-ide/master/vim-packages.sh -o plugins.sh https://raw.githubusercontent.com/lucerion/vim-as-a-ruby-ide/master/plugins.sh
-
Make scripts executable
chmod 766 vim-packages.sh plugins.sh
-
Run
./vim-packages.sh
-
Copy last asset version
curl -o ~/.vim/plugins.vim https://raw.githubusercontent.com/lucerion/vim-as-a-ruby-ide/master/vundle.vim
-
Open vim and run
:PluginUpdate
command
-
Copy last asset version
curl -o ~/.vim/plugins.vim https://raw.githubusercontent.com/lucerion/vim-as-a-ruby-ide/master/plug.vim
-
Open vim and run
:PlugUpdate
- universal-ctags or exuberant-ctags (tagbar plugin)
- ack or ag or grep (ack.vim plugin)