You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
767 B
767 B
VIM Cheat Sheet
Tabs
gtgo to next tabgTgo to next tab[num]gtgo to tab [num]:tabnewopen new tab:tabcclose tab:tabeedit file in new tab
Split
<ctrl-w>sor:spsplit with line running horizontally<ctrl-w>vor:vspsplit with line running verticall<ctrl-w>arrowmove to pane:qclose tab:tab splitmove split to new tab
Buffers
:b[num]use buffer [num]:bnnext buffer:[num]bdunload buffer [num]
Auto Complete
<ctrl-x><ctrl-o>omni completion<ctrl-y>,emmet<ctrl-]>abbreviations<ctrl-n>word completion
Navigation
<ctrl-f>page down<ctrl-b>page up
Commands
:%s/\s\+$//etrim ending whitespace:%retab!convert spaces to tabs