vim-config/README.md
2021-09-20 00:34:50 +08:00

28 lines
825 B
Markdown

# vim config
```shell
if [ -f "${HOME}/.vimrc" ]; then
echo "vimrc exists"
mv ${HOME}/.vimrc ${HOME}/.vimrc.bak
fi
cp .vimrc ${HOME}/
mkdir -p ${HOME}/.vim/colors
git clone https://github.com/fatih/vim-go.git ~/.vim/pack/plugins/start/vim-go
git clone https://github.com/scrooloose/nerdtree.git ~/.vim/pack/dist/start/nerdtree
git clone https://github.com/vim-airline/vim-airline ~/.vim/pack/dist/start/vim-airline
git clone https://github.com/tpope/vim-fugitive.git ~/.vim/pack/dist/start/vim-fugitive
curl https://raw.githubusercontent.com/tomasr/molokai/master/colors/molokai.vim -o ${HOME}/.vim/colors/molokai.vim
```
### Plugins
- vim-go
- nerdtree
- vim-airline
- vim-fugitive
### Colors
- molokai https://github.com/tomasr/molokai
- sublime-monokai https://github.com/ErichDonGubler/vim-sublime-monokai