Fugitive Vim is a plugin by Tim Pope that provides access to git commands that you can execute without leaving vim.
Some common commands include:
:Gedit - edit a file in the index and write it to stage the the changes
:Gstatus - equivalent of
:Gblame - brings up vertical split of output from
:Gmove - for git mv
:Gremove - for git rm
:Git - run any command
It also adds items to the
statusline like indicating the current branch.
Please see their GitHub for more details and installation instructions.
NERD TREE is a plugin by scrooloose that allows you to explore the file system while using vim. You can open files and directories via a tree system that you can manipulate with the keyboard or the mouse.
Add this to your .vimrc to start NERDTree automatically when vim starts up:
To automatically close NERDTree if it's the only window left add this to your .vimrc:
It's recommended to map a key combination to the NERDTreeToggle command. Add this to your .vimrc (this example uses Ctrl + N)
Full details and installation instructions can be view on their Github.