Show Menu
Cheatography

vim plugins Keyboard Shortcuts by

keyboard shortcut for my own vim config

VIM

TaskList
\t
list tasks
Nerd Tree
\n
display file tree
Gundo
\g
display undo tree
Ack!
\a
Mark
\m
高亮当前word
 
\r
regex高亮
 
\c
clear 当前或所有mark
BufExp­lorer
Alt-F12
list all buffer
 
C-A-right
切换右边buffer
 
C-A-left
切换左边buffer
CtrlP
\p
CommandT
\f
查找文件
 
\b
查找buf
vim-su­rround
cs]}
 
ds]
 
dst
 
S]
visual模式, 给selec­tio­n添加[]
Tagbar
F8
easymotion
s
以单词的前两­个字母搜索
 
#
search word under cursor
 
/
搜索
vim-ea­sy-­align
select, enter, =
visual模式, 用=来align
 
gaip=
ga开始, ip选择, =aliagn

Target­s.vim

format
v[numb­er]­[ra­nge­][m­odi­fie­r][­object]
Objects
()b {}B [] <> t
Pair text object
 
, . ; : + - = ~ _ * # / | \ & $
seperators
 
' " `
Quots
 
a
Argument Text Objects
range
i
inside of pair charac­ters.
 
a
Select a pair including pair characters
 
I
insde pair, exclude whitespace
 
A
include pair, include whitespace at one side.
modifier
l
last
 
n
next
 
L
last second
 
N
next second
examples
v2i(
选择2重 () 中内容
 
vin(
选择下一个()中内容
 
v2in(
选择下面第二­个()中内容
   
 

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

          VLC (Windows & OS X) Keyboard Shortcuts
          Sublime Text 2 Windows Keyboard Shortcuts
          Eclipse for Vrappers Keyboard Shortcuts

          More Cheat Sheets by wenliang