Neovim: Difference between revisions
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
</source> |
</source> |
||
=== Plugin manager === |
|||
We install '''[https://github.com/junegunn/vim-plug vim-plug]''': |
We install '''[https://github.com/junegunn/vim-plug vim-plug]''': |
||
<source lang=bash> |
<source lang=bash> |
||
Line 21: | Line 21: | ||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim</source> |
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim</source> |
||
=== Plugins === |
|||
* https://github.com/junegunn/vim-easy-align |
* https://github.com/junegunn/vim-easy-align |
||
* https://github.com/tpope/vim-sensible (on [http://www.vim.org/scripts/script.php?script_id=4391 vim.org]) |
* https://github.com/tpope/vim-sensible (on [http://www.vim.org/scripts/script.php?script_id=4391 vim.org]) |
||
* https://github.com/tpope/vim-sleuth (on [http://www.vim.org/scripts/script.php?script_id=4375 vim.org]) |
* https://github.com/tpope/vim-sleuth (on [http://www.vim.org/scripts/script.php?script_id=4375 vim.org]) |
||
* https://github.com/Lokaltog/vim-easymotion |
|||
Content of {{file|~/.config/nvim/init.vim}}: |
Content of {{file|~/.config/nvim/init.vim}}: |
Revision as of 13:31, 24 October 2016
References
Install
Follow the install guide Installing Neovim.
Default ini files are located at ~/.config/nvim/init.vim. To import Vim settings (FAQ :help nvim-from-vim)
mkdir ~/.config
ln -s ~/.vim ~/.config/nvim
ln -s ~/.vimrc ~/.config/nvim/init.vim
Plugin manager
We install vim-plug:
curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Plugins
- https://github.com/junegunn/vim-easy-align
- https://github.com/tpope/vim-sensible (on vim.org)
- https://github.com/tpope/vim-sleuth (on vim.org)
- https://github.com/Lokaltog/vim-easymotion
Content of ~/.config/nvim/init.vim:
Reload the init script and install plugins:
:so $MYVIMRC
"... or ':so %' if it is current file
:PlugInstall
To update plugins:
:PlugUpdate