A few shortcuts, addons and formatting settings.
Extensions
- Vim-Fugitive - Git Integration
- Vim-Sensible - Some Sane Defaults
- Vim-Airline - Fancy Status Bar
- NerdTree - Directory Browsing
- Vim-NerdTree-Tabs - Directory Browsing Works Well With Tabs
- Nerdtree-Git-Plugin - Git status in NERDTree
- Tagbar - Generate/View tags for current buffer
- NerdCommenter - Fancy Commenting
Notable shortcuts and commands
\n
: toggles nerdtreeshift-i
: show dot files in nerdtreeshift-right
shift-left
shift-up
shift-down
: switch between split screen buffers.\ci
: toggle commenting for current line or highlighted text\c$
: comment out the rest of the current line:Gdiff
: compare staged and working tree versions of files:Gcommit
: commits staged filesctrl-p
: opens autocompletion menushift-t right
shift-t left
: switch between tabsshift-t n
: open a new tab
Other Additions
git clone https://github.com/jmhbrown/vimtran77.git
cd vimtran77
git submodule init
git submodule update
This repo is set up to be compatible with homesick. You can also set it up manually with the following commands.
ln -s <path to vimtran77>/home/.vim ~/.vim
ln -s <path to vimtran77>/home/.vimrc ~/.vimrc