Vim tips - SumitBisht/checklist_and_guides GitHub Wiki
Vim Tips
Folding
-
zf - create folding
-
zo - open folding
-
zc - close folding
-
zd - delete folding
-
zr - reduce (open)
-
zR - reduce all
-
zm - more (close)
-
zM - more all
-
zi - enable/disable folding
-
set foldcolumn=2 - to see folding's bar
Custom Commands
- ,p - promote to let
- ,n - rename current file
- ,gt - command tab
Other Commands
- f{char} - find the next occurrence of {char} in the current line