Vim Plugins Setup
By WretchedGhost
- One minute read - 198 wordsAs of right now I have been using pathogen as my vim plugin manager for a few years now. It took a little setup but is massively trivial to add new plugins or bundles as pathogen calls them.
My current vimrc and vim files can be found at my github vim repo.
My .vimrc file is currently sitting at 182 lines but most of those are comments. The most important thing to setup pathogen is by adding execute pathogen#infect() somewhere in your .vimrc file. Once that is done all we need to do is create a bundle and autoload folder in ~/.vim/.
mkdir ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
If you don’t have a .vimrc paste in or type the following using $ vim ~/.vimrc:
execute pathogen#infect()
syntax on
filetype plugin indent on
From here we are now able to install plugins in the ~/vim/bundle directory. Let’s download the arguably best one called vividchalk.
cd ~/.vim/bundle
git clone https://tpope/vim-vividchalk.md
What this will do is change the font syntax colors when using vim, and I think its the best one. We now just need to add colorscheme vividchalk somewhere into our .vimrc file and we are done.