#Vim 1.
sudo add-apt-repository ppa:jonathonf/vim
sudo apt update
sudo apt install vim
- Copy
.vimrc
andcolors
cp .vimrc ~/.vim/
cp colors ~/.vim/
ln -s ~/.vim/vimrc ~/.vimrc
- Install VimPlug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
- YouComplete Install https://www.jianshu.com/p/d908ce81017a copy .ycm_extra_conf.py
#NeoVim
-
Install Neovim: https://github.com/neovim/neovim/wiki/Installing-Neovim
-
Copy
init.vim
andcolors
to~/.config/nvim/
cp init.vim ~/.config/nvim
cp colors ~/.config/nvim
- Install VimPlug
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
#Plugins
- in vim/nvim,
:PlugInstall