My own Git cheat sheet
ci"
to change between quotes. Works with ", ', `, < etc.cit
to change between tags- Works with
d
as well *
to search for word under cursor
Append a movement (e
, $
, etc) to each of these commands
g~
to toggle casegU
to go uppercasegu
to go lowercase
cd %:p:h
to cd across sessionlcd %:p:h
to cd for current window
-
vsplit
orvs
for vertical split -
split
sp
for horizontal split -
Prefix with a number, e.g.
10sp
to specify width/height
Open netrw in cwd
:edit.
:e.
Open netrw in dir of current file
:Explore.
:E.
Up one level while in netrw
-
Split and open netrw
:Sex
open netrw in horisontal split:Vex
open netrw in vertical split%
New filed
New directoryR
Renames
Change sort
See vinegar-specific shortcuts.
- vim airline
- fugitive
- syntastic (incl. syntastic-react)
- ctrl+p or similar
- matchtagalways
- vim matchit
- vim autoclose
- closetag
- NERDCommenter