User Tools

Site Tools


linux:vim_cheatsheet

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:vim_cheatsheet [2022/02/09 11:34] dodgerlinux:vim_cheatsheet [2023/01/31 08:33] (current) – removed dodger
Line 1: Line 1:
-====== vim cheatsheet ====== 
- 
- 
-===== nerdcommenter ===== 
- 
-Most of the following mappings are for normal/visual mode only. The</code> |NERDCommenterInsert| mapping is for insert mode only. 
- 
-| <code>[count]<leader>cc</code> |NERDCommenterComment| Comment out the current line or text selected in visual mode. | 
-| <code>[count]<leader>cn</code> |NERDCommenterNested| Same as cc but forces nesting. | 
-| <code>[count]<leader>c<space></code> |NERDCommenterToggle| Toggles the comment state of the selected line(s). If the topmost selected line is commented, all selected lines are uncommented and vice versa.| 
-| <code>[count]<leader>cm</code> |NERDCommenterMinimal| Comments the given lines using only one set of multipart delimiters. | 
-| <code>[count]<leader>ci</code> |NERDCommenterInvert| Toggles the comment state of the selected line(s) individually.| 
-| <code>[count]<leader>cs</code> |NERDCommenterSexy| Comments out the selected lines with a pretty block formatted layout. | 
-| <code>[count]<leader>cy</code> |NERDCommenterYank| Same as cc except that the commented line(s) are yanked first. |  
-| <code><leader>c$</code> |NERDCommenterToEOL| Comments the current line from the cursor to the end of line. | 
-| <code><leader>cA</code> |NERDCommenterAppend| Adds comment delimiters to the end of line and goes into insert mode between them. | 
-| ?? |NERDCommenterInsert| Adds comment delimiters at the current cursor position and inserts between. Disabled by default. | 
-| <code><leader>ca</code> |NERDCommenterAltDelims| Switches to the alternative set of delimiters. | 
-| <code>[count]<leader>cl</code> |NERDCommenterAlignLeft | |  
-| <code>[count]<leader>cb</code> |NERDCommenterAlignBoth | Same as 'NERDCommenterComment' except that the delimiters are aligned down the left side (<leader>cl) or both sides (<leader>cb). | 
-| <code>[count]<leader>cu</code> |NERDCommenterUncomment| Uncomments the selected line(s). | 
- 
- 
-===== fugitive.vim ===== 
- 
- 
  
linux/vim_cheatsheet.1644406492.txt.gz · Last modified: 2022/02/09 11:34 by dodger