If you use vim8 you can clone this repo for get a some usefull plugins. You just clone the repository when you need.
This plugins use git-submodules to version-control.
- Ale
- NeerdTree
- Coc
- CloseTags
- NeerdTree git
- Nerd Commenter
- Fugitive
- FZF
- Polyglot
- Devicons
- Tmuxline
- Vim tmux
-
Clone the repository (recursively to clone plugins as well):
git clone --recursive https://github.com/EddCode/vimrc.git
-
Now you must to create a Symlink to
.vim
and.vimrc
:$ ln -sf reponame ~/.vim $ ln -sf reponame/vimrc ~/.vimrc
To install more plugins if you need (say always-loaded foo
and optionally-loaded bar
, located at https://github.com/manasthakur/foo
and https://github.com/manasthakur/bar
, respectively)
using Vim 8's package feature:
$ git submodule add https://github.com/manasthakur/foo.git pack/plugins/start/foo
$ git submodule add https://github.com/manasthakur/bar.git pack/plugins/opt/bar
$ git commit -m "Added submodules."
To remove foo
:
$ cd ~/.vim
$ git submodule deinit pack/plugins/start/foo
$ git rm -r pack/plugins/start/foo
$ rm -r .git/modules/pack/plugins/start/foo
To update foo
:
$ cd ~/.vim/pack/plugins/start/foo
$ git pull origin master
It is recommended to first git fetch origin master
a plugin, review changes, and then git merge
.
To update all the plugins:
$ cd ~/.vim
$ git submodule foreach git pull origin master
This vim settings use VimDevicons to show icons in vim, however weather you wanted show icons you need Nerd Fonts, 'Couse it works with patched fonts
See configuration Nerd Fonts for more information