You are on page 1of 1

Personal Vim Shortcuts Cheat Sheet

Basics Edit .vimrc Edit .gvimrc Edit custom config for work Explore remote files Reset remote host info Vim help for word under cursor Vim help for WORD under cursor Buffers Go to last used buffer Go to next buffer Go to previous buffer Open alternate 1 file
1

by Thiago Alves (thiagoalves) via cheatography.com/6320/cs/1073/


Fuzyfinder ,ev ,eg ,ew ,rf ,rn ,hw ,hW Buffers File on pwd File on pwd traversing directories Directories Recent files Recent commands Bookmarks Tags Tagged file ,bl ,bn ,bp ++ ,A Jump list Change list Quickfix Lines of current buffer Help topics File on buffer's directory Directory on buffer's tree ,ht ,hc ,st ,ln ,lr ,lw ,sc ,xt Tag with cursor word Add bookmark Add bookmark as selected text Eclim Refresh current projects Refresh all projects Project information Projects Tree Project Todo +L +H ]q [q [Q ]Q ,ss ,sa ,sA Project Problems Todo Locate file Validate buffer Java Autocorrection Java Import Organize Java Format Java Hierarchy Super class methods Java Doc Search Android reload +K +J ,ij ,ix Google word Google WORD Google word for android Google WORD for android Look up word definition Look up WORD definition Cheatographer Thiago Alves (thiagoalves) cheatography.com/thiagoalves/ www.thiagoalves.com.br Dates This cheat sheet was published on 1st June, 2013 and was last updated on 1st June, 2013. ,pr ,pra ,pi ,pn ,pd ,pp ,td ,jf ,vf ,jr ,jo ,ji ,jh ,jp ,jd ,ar ,gt ,gT ,ga ,gA ,dt ,dT Sponsored by Work Only ant clean ant debug ant installd ant debug install ant clean debug install adb reboot adb push adb connect Start android settings Start main activity Open DDMS ,wc ,wb ,wi .wa ,wf ,wr ,wp ,ac ,ws ,wl ,ad ,fb ,ff ,fi ,fd ,fr ,fc ,fk ,ft ,fe ,fj ,fg ,fq ,fl ,fh ,fwf ,fwd ,fiw ,fab ,fas Other Plugins NERDTree NERDTree buffer selected Gundo Peepopen VOom Update help tags for Pathogen Taglist SelectBuf Insert Mode Maps New line bellow cursor New line above cursor Add braces on new line Add braces on same line Add ';' to EoL 1 Add a ':' to
1

Fugitive git status git commit git commit --amend git log git blame git diff Write current buffer to the index Read from HEAD into current buffer Browse changes on current buffer ,gs ,gc ,gm ,gl ,gb ,gd ,gw ,gr ,gb

F2 +F2 F5

,d ,D ,u ,t

The alternate file is a header for an implementation

and vice-versa (e.g. .h to .cpp ) Vim settings Toggle highlight search as you type Clear search register Toggle spell checking Toggle show line numbers Toggle show relative line numbers Toggle text wrap Toggle show hidden characters Toggle doxygen syntax for buffer Navigation Scroll buffer right Scroll buffer left Next entry on quicklist Previous entry on quicklist First entry on quicklist Last entry on quicklist Search for selected content Ack cursor word Ack cursor WORD Helpers Move current line up Move current line down Indent a JSON buffer Indent an XML buffer

F6

,vo ,pt

F4 F3

,tl

+ + +

+J +K +H +L +; +:

EoL 1

End of Line

You might also like