Basic line-based movement:
Look at the things you understand: (mainly understand the screen line and the actual line is good)
^ moves to the first non-whitespace character of the actual line; G^ moves to the first non-whitespace character of the screen line; GJ, GK, G0, g$ corresponds to the movement of the screen line; In addition:Ctrl- f Scroll down one page, ctrl-b up one page, Ctrl-D down halfpage, ctrl-u down half page, H: Page top of the current page; M: The middle of the page in the current page; L: The end of the current page ; ZZ: The line where the cursor resides is centered on the screen;
Word-based movement:
W forward moves to the beginning of the next word; b moves to the beginning of the current/next word; e moves to the end of the current/ next word; GE moves backwards to the beginning of the previous word ;
For the difference between a word and a string: a long one short bar ...!! It's possible.
When the string is oriented, the W,b,e,ge is changed to W,b,e,ge;
The search function of characters:
f{char} move forward to the next {char} location; T{char} moves backwards to the previous {char} location; T{char} to move forward to the previous character where the next {char} is located;
T{char} moves backwards to the previous character where the previous {char} is located;
; Repeat the last lookup command;
To reverse lookup of the last lookup command;
for finding a word, you can use:
/{word} forward lookup; ? {Word} reverse lookup; n the result of a forward traversal lookup;
N The result of the reverse traversal lookup;
Move the action command in the document