Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
ViNotes
Edit
PageHistory
Diff
Info
LikePages
You are viewing an old revision of this page.
View the current version
.
This page is kinda intended as a quick way of listing the various nifty commands in vi(1) and vim(1). !!!Movement Commands ;h,j,k,l: left, down, up, right ;f''x'': Move to next charactor ''x''. ;F''x'': Move to previous charactor ''x'' ;t''x'': Move to before next charactor ''x'' ;T''x'': Move to after previous charactor ''x'' ;%: Goto matching charactor !!!Action(?) Commands ;c: Change, delete text and go into insert mode ;C: Change line ;y: Yank (copy) ;Y: Yank Line ;d: Delete (cut) ;D: Delete Line ;p: Paste after ;P: Paste before !!!Misc commands ;v: Visually select by charactor ;V: Visually select by line ;m''x'': Save cursor position into register ''x'' ;`''x'': Goto charactor position in register ''x'' ;' ''x'': Goto line in register ''x'' !!!Useful examples: ;ct": Change everything until the next "
4 pages link to
ViNotes
:
VimHowto
Vim
vi(1)
VimNotes