vi vim graphical cheat sheet

Reviews
Shared by: armani11
Stats
views:
92
rating:
not rated
reviews:
0
posted:
11/9/2008
language:
English
pages:
0
Esc normal mode vi / vim graphical cheat sheet Dvorak version by Peter Hosey ~ `. toggle case goto mark ! 1 @ # $. ( ) {. %. ^ & * [. 2 3 4. 5. 6 7 8 9 0 < > ". P. Y F G C R L ?. . . , . p y g. c r. /. ' f l _. A. O E U I D H T N S a o e u t. n s i d h : Q. J K X B M W V Z. ; q. x m w v z. j k b external filter append play macro subst char prev ident eol goto match "soft" bol repeat :s next ident begin sentence end sentence "hard" bol begin parag. misc delete 1,3 fwd to char extra6 cmds }. ]. end parag. misc next line reg. 1 spec un- 3 indent indent repeat cmd 3 paste before yank line yank "back" fwd eof/ goto ln change to eol change replace mode replace char screen bottom find rev. find goto mk. bol reverse t/T/f/F paste 1 after 1,3 fwd to char extra6 cmds 1,3 append at eol append open above end WORD end word undo line undo insert at bol insert mode delete to eol delete screen top back 'till 'till prev (find) subst line subst char "soft" bol down prev line open below 1,3 next (find) +. = |. \. auto 3 format bol/ goto col not used ex cmd line repeat t/T/f/F ex mode join lines help backspace prev WORD prev word screen mid'l set mark next WORD next word visual lines visual mode extra4 quit record macro delete char extra5 cmds motion command moves the cursor, or defines the range for an operator Main command line commands ('ex'): :w (save), :q (quit), :q! (quit w/o saving) :e f (open file f), :%s/x/y/g (replace 'x' by 'y' filewide), :h (help in vim), :new (new file in vim), Notes: (1) use "x before a yank/paste/del command to use that register ('clipboard') (x=a..z,*) (e.g.: "ay$ to copy rest of line to reg 'a') (2) type in a number before any action to repeat it that number of times (e.g.: 2p, d2w, 5i, d4j) (3) duplicate operator to act on current line (dd = delete line, >> = indent line) (4) ZZ to save & quit, ZQ to quit w/o saving (5) zt: scroll cursor to top, zb: bottom, zz: center (6) gg: top of file (vim only), gf: open file under cursor (vim only) direct action command, if red, it enters insert mode requires a motion afterwards, operator operates between cursor & destination special functions, extra requires extra input commands with a dot need a char argument afterwards bol = beginning of line, eol = end of line mk = mark, yank = copy res := base + v.offset; words: WORDs: res := base + v.offset; Other important commands: q. CTRL-R: redo (vim), CTRL-F/-B: page up/down, CTRL-E/-Y: scroll line up/down, CTRL-V: block-visual mode (vim only) Visual mode: Move around and type operator to act on selected region (vim only) Based on QWERTY/SVG version at http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html

Related docs
vi-vim-cheat-sheet.pdf
Views: 51  |  Downloads: 11
vi-vim-cheat-sheet.pdf
Views: 19  |  Downloads: 1
vi-vim-cheat-sheet-qwerty
Views: 3  |  Downloads: 0
vi-vim-cheat-sheet.pdf
Views: 0  |  Downloads: 0
Vim Commands Cheat Sheet
Views: 23  |  Downloads: 0
Byte of Vim
Views: 261  |  Downloads: 3
vi intro - the cheat sheet method
Views: 22  |  Downloads: 0
just another vi cheat sheet
Views: 0  |  Downloads: 0
Other docs by armani11