Show Menu

spf13-vim Cheat Sheet by

Vundle

:Bund­leI­nstall
Install plugin
:Bund­leU­pdate
Update plugin
:Bund­leS­earch
Search plugin
:Bund­leList
List plugin
:Bund­leC­lean
Clean plugin
<L­ead­er>ev
Edit .vimrc
<L­ead­er>sv
Save .vimrc

NERDTree

<L­ead­er>e
Open NERDTree
<L­ead­er>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

<L­ead­er>­c<s­pac­e>
Toggle comments
<L­ead­er>ca
Change comment form
<L­ead­er>cc
Comment
<L­ead­er>cs
Sexy comment
<L­ead­er>cA
Add comment at $
<L­ead­er>cu
Uncomment
 

ctrlp

<c­-p>
Open ctrlp

Syntastic

:Synt­ast­icT­oggle
Enable­/di­sable plugin
:Synt­ast­icR­eset
Reset errors
:Synt­ast­icC­heck
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(en­ten­ces), ^, $, etc.

tagbar

<L­ead­er>tt
Toggle tagbar panel
<C­-]>
Go to definition
<C­-T>
Go back
 

Tabularize

<L­ead­er>a=
:Tabul­arize /=
<L­ead­er>a:
:Tabul­arize /:
<L­ead­er>a::
:Tabul­arize /:\zs
<L­ead­er>a,
:Tabul­arize /,
<L­ead­er>­a<B­ar>
:Tabul­arize /

Fugitive

<L­ead­er>gs
git status
<l­ead­er>gd
git difff
<l­ead­er>gc
git commit
<l­ead­er>gb
git blame
<l­ead­er>gl
git log
<l­ead­er>gp
git push

neocom­plcache

<T­ab>
Choose autoco­mpl­etion
<C­-k>
Commit autoco­mpl­etion

number­s.vim

:Numb­ers­Toggle
Switch number mode
:Numb­ers­OnOff
Toggle plugin

EasyMotion

<L­ead­er>­<Le­ade­r>w
Word motion
<L­ead­er>­<Le­ade­r>f
Char motion

Download the spf13-vim Cheat Sheet

1 Page
//media.cheatography.com/storage/thumb/harrysummer_spf13-vim.750.jpg

PDF (recommended)

Alternative Downloads

Share This Cheat Sheet!

 

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.