2 KiB
plugins keybinding
NERDtree
nnoremap <C-t> :NERDTreeToggle<CR>
nnoremap <C-f> :NERDTreeFind<CR>
Nerdcommenter
importent ones
-
[count]<leader>cc
|NERDCommenterComment|Comment out the current line or text selected in visual mode.
-
[count]<leader>cu
|NERDCommenterUncomment|Uncomments the selected line(s).
-
[count]<leader>c<space>
|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.
unimportant
-
[count]<leader>cn
|NERDCommenterNested|Same as cc but forces nesting.
-
[count]<leader>cm
|NERDCommenterMinimal|Comments the given lines using only one set of multipart delimiters.
-
[count]<leader>ci
|NERDCommenterInvert|Toggles the comment state of the selected line(s) individually.
-
[count]<leader>cs
|NERDCommenterSexy|Comments out the selected lines with a pretty block formatted layout.
-
[count]<leader>cy
|NERDCommenterYank|Same as cc except that the commented line(s) are yanked first.
-
<leader>c$
|NERDCommenterToEOL|Comments the current line from the cursor to the end of line.
-
<leader>cA
|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.
-
<leader>ca
|NERDCommenterAltDelims|Switches to the alternative set of delimiters.
-
[count]<leader>cl
|NERDCommenterAlignLeft -
[count]<leader>cb
|NERDCommenterAlignBothSame as |NERDCommenterComment| except that the delimiters are aligned down the left side (
<leader>cl
) or both sides (<leader>cb
).