A bunch of stuff to vim you up. Built for Mac and Linux. Heavily based on Square's maximum-awesome repo that's no longer maintained, plus a few other goodies.
What's in it?
- iTerm 2
- The base16-shell and related base16-vim colors (including iTerm colors)
- A bunch of vim bundles and moooore
,fbring up NERDTree, a sidebar buffer for navigating and manipulating files
,tbrings up ctrlp.vim, a project file filter for easily opening specific files
,brestricts ctrlp.vim to open buffers
,astarts project search with ag.vim using the silver searcher (like ack, but faster)
,ztoggles paste modes
csdelete/change surrounding characters (e.g.
'Hey!') with vim-surround
gcctoggles current line comment
gctoggles visual selection comment lines
vaivisually select in or around the cursor's indent
vpreplaces visual selection with default register without yanking selected text (works with any visual selection)
,[space]strips trailing whitespace
<C-]>jump to definition using ctags
,lbegins aligning lines on a string, usually used as
,l=to align assignments
<C-hjkl>move between windows, shorthand for
:GitGutterToggleto toggle your git diff, and
:GitGutterLineHighlightsToggleto highlight diffed lines
Note: When you see
C here, that means Ctrl (not Cmd)!
This will update all installed plugins using Vundle's
:PluginInstall! command. If there are errors, just clear out the problem directories in
:help PluginInstall provides more detailed information about Vundle.
This creates some
.local files for your
.vimrc and your bundles if you'd like to customize everything on your local machine. If you'd like to make a PR, don't put it in the
.local files, just put it in the main ones!
This repo includes a bunch of different colorschemes to test out, and by default uses
base16-default-dark. You'll see instructions on properly installing the base16-shell and related colors after everything runs from the
You can test out different colors using the
colorscheme vim command, and just tabbing through the different options. There are a lot. Don't be overwhelmed.
This won't remove everything, but your vim configuration should be reset to whatever it was before installing. Some uninstallation steps will be manual.