Show Menu

Custom Vim Keyboard Shortcuts by

vim

VISUAL

Sort Lines
<­Lea­der­> s
Indent / Unident
< and >
Split paragraph
Q

NORMAL MODE

Append a space.
<sp­ace>
Find word under cursor
* or #
Toggle Spell checking
<­Lea­der­> ss
Disable search highlight
<C-­n>
Move to Split
<C-­h> Left
 
<C-­j> Bottom
 
<C-­k> Up
 
<C-­l> Right
Echo current file path
<­Lea­der­> p
Auto Indent
=
 
MOVE­MENTS
 
basic
first line
gg
last line
G
first character in line
_
*last character in line"
$
 
nouns
word
w
back
b
sentence
s
line
j
 
obje­cts
inner word
iw
inner tag (html)
it
inner quote
i"
inner parent­hesis
i(
inner paragraph
ip
a sentence
as
 
target
until <ch­ara­cte­r> (inclu­ding)
f <ch­ara­cte­r>
until <ch­ara­cte­r> (exclu­ding)
t <ch­ara­cte­r>
until <se­arc­h>
/ <se­arc­h>
 
screen based­(don't move cursor)
move cursor Hight/­Mid­dle­/Low
H or M or L
Center to the cursor
zz
Move the current line to top of the sceen
zt
Move the screen down one line
<C-­e>
Move the screen up one line
<C-­y>
 
bigger moveme­nts
Move all half screen Down
<C-­d>
Move all screen Up
<C-­u>
Move all screen Down
<C-­f>
Move all screen Up
<C-­b>

INSERT MODE

 

AUTOCMD

VimEnter
BufWri­tePre
*.txt | *.js | *.py | *.wiki | *.sh | *.coffee
CleanE­xtr­aSpace
BufNewFile
*.py | *.rb
Shebang
 
*.py
Semant­icH­igh­light
BufEnter
*.py
Semant­icH­igh­light
 

Basic

VIM
Auto Indent
 
=
 
RANGER
open Ranger
 
<­Lea­der­> r
BUFF­ERS
Cycle
 
<Ta­b> and <S-­Tab>
Close current buffer
 
bc
NERD­Tree
toggle NERDTree
 
"
Open in HSplit
<on file>
i
Open in VSplit
<on file>
s
Recurs­­ively open
<on folder>
O
Show Menu
 
m

Python

Jedi
Usages
<­Lea­der­> z
Help about element under cursor
 
<S-­k>

Folding

Close under cursor
zc ( zC - recurs­ive)
Open under cursor
zo (zO - recurs­ive)

Custom Commands

:Run
Save and execute current buffer in python
:Pip
Pip install the currently highli­ghted word
:Range­rCh­ooser
Open ranger

Download the Custom Vim Keyboard Shortcuts

2 Pages
//media.cheatography.com/storage/thumb/akelian_custom-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.

          Related Cheat Sheets

          VI Editor Cheat Sheet
          Vim NERDTree Cheat Sheet
          cVim Keyboard Shortcuts