Clone and change directory
git clone https://github.com/LEI/dot-vim.git ~/.dot/vim && cd $_
Create the directory ~/.vim
mkdir -p ~/.vim
Link files to home directory
ln -isv ~/.dot/vim/{*.vim,autoload,config,ftdetect,ftplugin,plugin} ~/.vim
Source ~/.vim/init.vim
from ~/.vimrc
echo 'source ~/.vim/init.vim' >> ~/.vimrc
Nvim
ln -isv ~/.dot/vim ~/.config/nvim
ln -isv ~/.dot/vim/lua ~/.vim
Gvim
echo 'source ~/.vim/ginit.vim' >> ~/.gvimrc
- SpaceVim
- spf13-vim
- vim-galore
- vim-sensible
- christoomey dotfiles
- gfontenot dotfiles
- thoughtbot dotfiles
- paulirish dotfiles
minpac (Vim 8)
:call minpac#update()
vim-plug v:version < 800
Install plugins
:PlugInstall
Update plugins
:PlugUpdate
Upgrade vim-plug itself
:PlugUpgrade
Default key_backspace
(kbs) entry on OS X is ^H
(ASCII DELETE).
Set it to \177
(ASCII BACKSPACE) with these commands:
infocmp $TERM | sed 's/kbs=^[hH]/kbs=\\177/' > $TERM.ti
tic $TERM.ti