|
Plugin
|
Git
|
Shortcut
|
Explaination
|
|
:Gstatus
|
git status |
<leader>gs
|
Open a new buffer with git output
|
|
:Gcmd
|
git cmd |
NOPE
|
Replace cmd by a git command. It does the same thing (opening buffer when needed)
|
|
Command
|
Explanation
|
|
\d
|
Delete surrounding tag
|
|
\x
|
Add surrounding tag
|
|
\c
|
Add comment
|
|
\u
|
Remove comment
|
|
Command
|
Info
|
|
<leader>cc
|
comment selection
|
|
<leader>cn
|
comment selection nesting (add commentary even if the line is comment)
|
|
<leader>cs
|
comment sexily
|
|
<leader>cy
|
as cc, but yank before
|
|
<leader>c$
|
comment current line
|
|
<leader>cA
|
comment append
|
|
def
|
#if
|
inc
|
|
Inc
|
mark
|
once
|
|
en
|
st
|
un
|
|
td
|
for
|
do
|
|
wh
|
if
|
elif
|
|
else
|
fprintf
|
printf
|
|
main
|
vmain
|
|
|
(SEE C SNIPPETS)
|
beginend
|
cl
|
|
ns
|
tp
|
|
|
Plugin
|
Shortcut
|
|
Delete surround
|
ds<target>
|
|
Change surround
|
cs<target><new>
|
|
New surround
|
ys<vim_move><new>
|
|
Surround current character
|
yS<new>
|
|
Surround current line
|
ySS*<new>
|
dst|
Command on node
|
Explanation
|
|
o
|
open files/directories
|
|
go
|
same but leave cursor in NERDTree
|
|
t
|
open in new tab
|
|
gt
|
same but stay in NERDTree
|
|
i
|
split
|
|
gi
|
same but stay in NERDTree
|
|
s
|
vsplit
|
|
gs
|
same but stay in NERDTree
|
|
x
|
close the current node parent
|
|
X
|
close recursively
|
|
P
|
jump to root node
|
|
p
|
jump to currents node parent
|
|
Shortcut
|
Command
|
|
<leader>vsn
|
:VimShell -toggle -split
|
|
<leader>vsi
|
:VimShellInteractive
|
|
<leader>vss
|
:VimShellSendString
|
|
shortcut
|
details
|
|
<leader>fc
|
find the character c to the right
|
|
<leader>Fc
|
to the left
|
|
<leader>tc
|
before the character c to the right
|
|
<leader>Tc
|
to the left
|
|
<leader>w
|
beg of word forward
|
|
<leader>W
|
beg of WORD forward
|
|
<leader>b
|
beg of word backward
|
|
<leader>B
|
beg of WORD backward
|
|
<leader>e
|
end of word
|
|
<leader>E
|
end of WORD
|
|
<leader>ge
|
end of word backward
|
|
<leader>gE
|
end of WORD backward
|
|
<leader>j
|
line downward
|
|
<leader>k
|
line upward
|
|
<leader>n
|
jump to latest / or ? forward
|
|
<leader>N
|
jump to latest / or ? backward
|
|
<leader>s
|
Find(search) {char} f&b
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.