Show Menu
Cheatography

Personal Vim & Plugins Cheat Sheet by

Toggle

Taglist
F2
Paste mode
F3
Nerd tree
F4
Syntastic
F9

Custom

Horizontal split
\h
:split
Vertical split
\v
:vsplit
Move window left
ALT + left
Move window right
ALT + right
Move window up
ALT + up
Move window down
ALT + down
Destroy buffer, leave window
:bd
Next buffer
ALT + Page Up
:bn
Previous buffer
ALT + Page Down
:bp
Choose buffer #
 
:b#

NerdCo­mmenter

Toggle comment
//

Rspec

Run current spec file
\t
Run nearest spec
\s
Run last spec
\l
All specs
\a
 

Standard Vim

Move left / right
h
l
Move down / up
j
k
Go to next / previous block
{
}
Yank current line(s)
yy
#yy
Replace current line
cc
#cc
Delete current line(s)
dd
#dd
Find next / previous instance
*
#
Matching bracket
%
Indent / deindent lines
#>>
#<<

Taglist

Follow function call
CTRL + right
Go back to call
CTRL + left
Open function call
CTRL + up

Syntastic

Next error
:lnext
Previous error
:lprev
 

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
          Helix Keyboard Shortcuts