Sorting through my old Dropbox files I ran into a collection of notes from when I was learning Vim that still seemed relevant to share.
==
indents the current line and V=
indents the visually selected region.q:
to open and q/
to search.!mkdir -p %:h
to resolve “directory not created” errors.F
, f
, T
, and t
can be repeated with ;
and reversed with ,
(even works if other movement commands are issued in between).gq
.:map <leader>r :w\|:!./file.sh<cr>
.