:help
• To get help on a given subject, use the following command:
:help {subject}
• To get help on the "x" command, for example, enter the following:
:help x
• To find out how to delete text, use this command:
:help deleting
• To get a complete index of all Vim commands, use the following command:
:help index
• When you need to get help for a control character command (for example,
CTRL-A), you need to spell it with the prefix "CTRL-".
:help CTRL-A
• When you start the Vim editor, you can use several command-line arguments.
These all begin with a dash (-). To find what the -t argument does, for
example, use the command:
:help -t
7. Word movement
w: move the cursor forward one word
b: move backward to the start of the previous word
e: move to the next end of a word
ge: move to the previous end of a word
8. Moving to the start or end of a line
$: moves the cursor to the end of a line
^: moves to the first non-blank character of the line
9. Moving to a characte
f: fx searches forward in the line for the single character x. [n]fx is acceptable.
F
t
T
10. Matching a parenthesis
评论0
最新资源