Show Menu

PluginVim Cheat Sheet by

CheatSheet about my plugin installation
vim     plugin

vim-fu­gitive

Plugin
Git
Shor­tcut
Expl­ain­ation
:Gstatus
git status
<l­ead­er>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)

xmledit

Comm­and
Expl­ana­tion
\d
Delete surrou­nding tag
\x
Add surrou­nding tag
\c
Add comment
\u
Remove comment

nerdco­mmenter

Comm­and
Info
<l­ead­er>cc
comment selection
<l­ead­er>cn
comment selection nesting (add commentary even if the line is comment)
<l­ead­er>cs
comment sexily
<l­ead­er>cy
as cc, but yank before
<l­ead­er>c$
comment current line
<l­ead­er>cA
comment append

c_snippet

def
#if
inc
Inc
mark
once
en
st
un
td
for
do
wh
if
elif
else
fprintf
printf
main
vmain

cpp_sn­ippet

(SEE C SNIPPETS)
beginend
cl
ns
tp
 

vim-su­rround

Plugin
Shor­tcut
Delete surround
ds<ta­rge­t>
Change surround
cs<ta­rge­t>­<n­ew>
New surround
ys<vi­m_m­ove­>­<ne­w>
Surround current character
yS<ne­w>
Surround current line
ySS*<n­ew>
*A shortcut t is given for any tag for <t­arg­et> and <n­ew>.
Example : dst

* <n­ew>:
- opening : surround with space
- closing : surround without

nerdtree

Command on node
Expl­ana­tion
o
open files/­dir­ect­ories
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 recurs­ively
P
jump to root node
p
jump to currents node parent

vimshell

Shor­tcut
Comm­and
<l­ead­er>vsn
:VimShell -toggle -split
<l­ead­er>vsi
:VimSh­ell­Int­era­ctive
<l­ead­er>vss
:VimSh­ell­Sen­dString

easymotion

shor­tcut
deta­ils
<l­ead­er>­fc
find the character c to the right
<l­ead­er>­Fc
to the left
<l­ead­er>­tc
before the character c to the right
<l­ead­er>­Tc
to the left
<l­ead­er>w
beg of word forward
<l­ead­er>W
beg of WORD forward
<l­ead­er>b
beg of word backward
<l­ead­er>B
beg of WORD backward
<l­ead­er>e
end of word
<l­ead­er>E
end of WORD
<l­ead­er>ge
end of word backward
<l­ead­er>gE
end of WORD backward
<l­ead­er>j
line downward
<l­ead­er>k
line upward
<l­ead­er>n
jump to latest / or ? forward
<l­ead­er>N
jump to latest / or ? backward
<l­ead­er>s
Find(s­earch) {char} f&b

Download the PluginVim Cheat Sheet

2 Pages
//media.cheatography.com/storage/thumb/aaylor_pluginvim.750.jpg

PDF (recommended)

Alternative Downloads

Share This Cheat Sheet!

Like this cheat sheet? Check out our sponsors!

Readable.io is a collection of tools to make your writing better. More readable content means higher conversion rates and better reader engagement. Measure website and document readability, measure keyword density and more!

Click Here To Get Started!

 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          VI Editor Cheat Sheet
          Vim NERDTree Cheat Sheet
          vim.spf13 Cheat Sheet