# MOVE #----- # w = start (of next word) # b = beginning (of word) # e = end (of word) # 3w = move 3 words # 9l = move 9 chars # 2b = move 2 beginning of word # #0 / $ = go to beginning/end of line # * / # = go to beginning/end of word (under the cursor) # gg / G = go to beginning / end of the file # #G = go to line # (ex: 5G - jumps to line #5) # EDIT #----- # #i <string> ESC = [repeat string # times] (ex: 3 i wot ESC = wotwotwot) # % = matches ( or { # o / O = insert blank line after/before the cursor line # x / X = removes char under_the_cursor / left_to_cursor # r <new_char> = replaces the char under the cursor with new_char # dw = delete word on the right. (acts like cut) # d#e = removes # words (on right) ex: d2e (deletes 2 words) # e = select word # v = go to visual mode (to select words and process them. ex delete 1 word : ved ) # / = search text. [n / N => go to next/previous occurrence) # . = repeats the previous command # :w = write # :q! = quit without saving # u / crtl r = undo / redo # :help = best command