Neovim: Difference between revisions

From miki
Jump to navigation Jump to search
(Created page with "== References == == Install == Follow the install guide [https://github.com/neovim/neovim/wiki/Installing-Neovim Installing Neovim]. Default ini files are located at {{fi...")
 
Line 13: Line 13:
ln -s ~/.vim ~/.config/nvim
ln -s ~/.vim ~/.config/nvim
ln -s ~/.vimrc ~/.config/nvim/init.vim
ln -s ~/.vimrc ~/.config/nvim/init.vim
</source>

;Plugin manager
We install '''[https://github.com/junegunn/vim-plug vim-plug]''':
<source lang=bash>
curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim</source>

;Plugins:
Content of {{file|~/.config/nvim/init.vim}}:
<source lang=vim>

</source>
</source>

Revision as of 12:21, 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

Content of ~/.config/nvim/init.vim: