Neovim config used by me as a ruby on rails developer.
- ruby async autocomplete
- ruby async linting with rubocop/reek
- auto correct/save ruby file with
<leader>rc
using rubocop - generate ctags
<leader>ct
- search in ctags with
,.
- you can undo even after the editor was closed
- file opens in the same line
- open
devdoc.io
documentation for current stringK
- inline rspec execution with
<leader>R
- search content of file using normal (no alien regexp vim syntax) posix REGEXP with
/
- fast project/buffer/ctags navigation with Fzf
- fast file browsing with
-
and split browsing<Leader>e
or<Leader>v
- fast [esc] with "jj"
- fast jumping in normal mode
s
followed by 2 chars
Install neovim. To ensure that all plugins work you need neovim dependencies:
sudo pip2 install --upgrade neovim
sudo pip3 install --upgrade neovim
gem install neovim rubocop reek
Other dependencies:
- The silver searcher (apt-get|brew install ag) https://github.com/ggreer/the_silver_searcher
To install, run
$ git clone git://github.com/gacha/nvim-config.git ~/.config/nvim
$ mkdir ~/.config/nvim/swap && mkdir ~/.config/nvim/undo
$ curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Then open neovim and install plugins
$ nvim
:PlugInstall
To update plugins run
$ vim
:PlugUpdate
If something doesn't work try :messages
and :CheckHealth
.