maximum-awesome Cheat Sheet

A Software › Vim cheat sheet in English by holysoros
4,150 views 1,097 downloads 31 Oct 2017 History
3.7 avg · 0 ratings

ctags

Ctrl-]
Jump to the tag underneath the cursor
:ts <ta­g> <En­ter>
Search for a particular tag
:tn
Go to the next definition for the last tag
:tp
Go to the previous definition for the last tag
:ts[elect]
List all of the defini­tions of the last tag
Ctrl-t
Jump back up in the tag stack

ctrlp

<le­ade­r>b
find buffer
<le­ade­r>r
find MRU
<le­ade­r>t
open ctrlp
<le­ade­r>T
clear cache
<c-­d>
switch filename only or path search mode
<c-­r>
switch to regexp mode
<c-­j/k>
navigate the result list
<c-­n/p>
next/p­revious string in prompt­'s history
<c-­z>, <c-­o>
mark/u­nmark file and open them

others

ds/cs
delete­/change surrou­nding characters
vii/vai
visually select in or around the cursor­'s indent
Vp/vp
replaces visual selection with default register without yanking selected text (works with any visual selection)
,l
begins aligning lines on a string, usually used as ,l= to align assign­ments

Badges

Nice Cheat Sheet

Comments

No comments yet.

Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.