Vim Plugin Manager

Mar 28, 2019

Install the silversearcher

sudo apt install silversearcher-ag

Setup your plugins by cloning this...

git clone ~/.vim/bundle/Vundle.vim

Then update your .vimrc to use it and include a few essential plugins

set nocompatible
filetype off

set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
     Plugin 'VundleVim/Vundle.vim'          " manages all plugins and etc
     Plugin 'ctrlpvim/ctrlp.vim'            " enables ctrl+p functionality similar to sublime
     Plugin 'airblade/vim-gitgutter'        " just a git gutter
     Plugin 'tpope/vim-surround'            " surrounds text objects, words or lines
     Plugin 'tpope/vim-commentary'          " for commenting lines out
     Plugin 'tpope/vim-repeat'              " lets you use . for repeating non-native commands
     Plugin 'editorconfig/editorconfig-vim'              " vim will respect .editorconfig files
call vundle#end()

filetype on
filetype indent on
filetype plugin on  

" CtrlP configuration
let g:ctrl_user_command = 'ag %s -l --hidden --nocolor -g ""'
let g:ctrlp_use_caching = 0

To actually install them, open up vim and run


Documentation on these plugins

And a cheatsheet for using them