Show Menu
Cheatography

VIM Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Git

Gdiff
vimdiff git changes
Gread
git checkout --
Gstatus
git status
, stage/­unstage with
-
stagen bzw. unstagen
Gcommit
git commit
,g
toggle GitGutter

perl

K
perldoc for current cursor position
,c
compile check

Tabularize

:Tab /
<pa­tte­rn>
/l0r0
horizontal adjustment based on pattern

Session

:mksession
sessio­n-name
session anlegen
vim -S
sessio­n-name
session fortsetzen
 

visual

visual
i[block delimiter]
inner select
visual
a[block delimiter]
outer select
 
C-v
visual block
visual block
c
change
visual block
I
insert, repeat each line

listings

:marks
marks
:reg
registers (yank, etc.)
:jumps
jumps

various

,f
fuzzy file finder
,1
toogle line numbers