Site Tools


notes:vim_cheat_sheet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
notes:vim_cheat_sheet [2026/06/13 05:04]
8.211.35.95 old revision restored (2026/06/05 00:29)
notes:vim_cheat_sheet [2026/06/13 18:26] (current)
216.73.216.197 old revision restored (2026/06/10 09:32)
Line 55: Line 55:
   * **v V ctrl-V** - enter select mode (character, line or block)   * **v V ctrl-V** - enter select mode (character, line or block)
  
-===== Searching & Bookmarks=====+===== Searching & Bookmarks =====
  
   * **/ ?** - Start incremental search forwards or backwards   * **/ ?** - Start incremental search forwards or backwards
Line 65: Line 65:
   * **[A-Z]** - global bookmarks (not buffer-specific)   * **[A-Z]** - global bookmarks (not buffer-specific)
   * **.** - bookmark of last modification   * **.** - bookmark of last modification
 +
 +===== Folding =====
 +
 +  * Folding allows temporarily hiding blocks of text. Folding commands start with z.
 +  * **zR zr** - opens all folds / one level of folds
 +  * **zM zm ** - closes all folds / one level of folds
 +  * **zO zo** - opens all folds at the cursor / one level of folds at the cursor
 +  * **zC zc** - closes all folds at the cursor / one level of folds at the cursor
 +  * **[z ]z** - jump to start/end of fold
 +  * **zj zk** - jump to previous / next fold
 +  * **zE zd** - delete all folds / fold at cursor
  
 ===== Assorted ===== ===== Assorted =====
notes/vim_cheat_sheet.1781352252.txt.gz ยท Last modified: 2026/06/13 05:04 by 8.211.35.95