Show Menu
Cheatography

spf13-vim Cheat Sheet by

Vundle

:Bundl­eIn­stall
Install plugin
:Bundl­eUpdate
Update plugin
:Bundl­eSearch
Search plugin
:Bundl­eList
List plugin
:Bundl­eClean
Clean plugin
<Le­ade­r>ev
Edit .vimrc
<Le­ade­r>sv
Save .vimrc

NERDTree

<Le­ade­r>e
Open NERDTree
<Le­ade­r>nt
Open NERDTree
t
/
T
Open file in new tab
i
/
gi
Open file in split
s
/
gs
Open file in vsplit
r
Refresh folder
m
File copy/m­ove­/delete
q
Close NERDTree

NERDCo­mmenter

<Le­ade­r>c­<sp­ace>
Toggle comments
<Le­ade­r>ca
Change comment form
<Le­ade­r>cc
Comment
<Le­ade­r>cs
Sexy comment
<Le­ade­r>cA
Add comment at
$
<Le­ade­r>cu
Uncomment
 

ctrlp

<c-­p>
Open ctrlp

Syntastic

:Synta­sti­cToggle
Enable­/di­sable plugin
:Synta­sti­cReset
Reset errors
:Synta­sti­cCheck
Manually check
:Errors
View errors
:lcose
Close errors

Surround

ds*
Delete surrou­nding
cs**
Change surrou­nding
ys?*
Yank surrou­nding
S*
Surround selection
1.
*
can be any character or
t
for XML tag.
2.
?
can be any Vim motion or text object, e.g.
w
(ord),
W
(ORD),
s
(enten­ces),
^
,
$
, etc.

tagbar

<Le­ade­r>tt
Toggle tagbar panel
<C-­]>
Go to definition
<C-­T>
Go back
 

Tabularize

<Le­ade­r>a=
:Tabul­arize /=
<Le­ade­r>a:
:Tabul­arize /:
<Le­ade­r>a::
:Tabul­arize /:\zs
<Le­ade­r>a,
:Tabul­arize /,
<Le­ade­r>a­<Ba­r>
:Tabul­arize /

Fugitive

<Le­ade­r>gs
git status
<le­ade­r>gd
git difff
<le­ade­r>gc
git commit
<le­ade­r>gb
git blame
<le­ade­r>gl
git log
<le­ade­r>gp
git push

neocom­plcache

<Ta­b>
Choose autoco­mpl­etion
<C-­k>
Commit autoco­mpl­etion

number­s.vim

:Numbe­rsT­oggle
Switch number mode
:Numbe­rsOnOff
Toggle plugin

EasyMotion

<Le­ade­r><­Lea­der­>w
Word motion
<Le­ade­r><­Lea­der­>f
Char motion
 

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.