$ git clone --recursive [email protected]:gardart/minidot.git ~/.dotfiles
$ cd ~/.dotfiles
$ ./install.bash
,d
brings up / closes down NERDTree, a sidebar buffer for navigating and manipulating files
<Ctrl-P>
brings up ctrlp.vim, a project file filter for easily opening specific files
,b
restricts ctrlp.vim to open buffers
ds
/cs
delete/change surrounding characters (e.g. "Hey!"
+ ds"
= Hey!
, "Hey!"
+ cs"'
= 'Hey!'
) with vim-surround
,"
surround word with "
,'
surround word with '
gcc
toggles current line comment
gc
toggles visual selection comment lines
,<space>
turn off highlighting until the next search
,l
Toggle between numbers and relative numbers
,1
Toggle number / nonumber
<Ctrl-hjkl>
move between windows, shorthand for <C-w> hjkl
<Shift-Tab>
move between buffers
,,
Open last buffer