Repeat command
number n+ command repeats the command n times, such as deleting 15 rows, and entering 15DD in the command state
. Repeat the
options and meanings used by the previous command VI command-
C Sub-command before editing the specified file, Executes the specified command Sub-command first.
-r filename restores the specified file filename.
-R puts the specified file into the editor as read-only so that no modifications to the file are saved. -Y number sets the
editing window to the number row size. Subcommand moves on the
same line in the cursor Move command mode: H move the cursor one way to the left. J move the cursor down one grid k move the cursor
to the
Front of the next small print W move the cursor to the front B of the next big characters move the cursor to the front of the
previous small print and move the
cursor to the front of the previous font e move the cursor to the back of the next small print move the
cursor to the back of the previous font
Move the cursor to the next C word on the same line entered prompt
Fc moves the cursor to the first C word of the same line entered prompt
TC to move the cursor to the next character in the same line the previous TC of C
to move the cursor to the back of the previous character C of the same line
number| Move the cursor to a subcommand
in command mode that moves between rows:
+ or ENTER to move the cursor to the first non-white-space character on the next line-move the cursor to the
first Non-white-space character in the previous line
0 move the cursor to the first character in the current line
$ Move the cursor to the last character of the current line entered prompt
H move the cursor to the top of the screen L move the
cursor to the bottom line of the screen M to move the
cursor to the middle of the screen: number
cursor moves to number line
: $ cursor moves to last row
screen roll class command
Ctrl+u to file The first half screen
ctrl+d to the end of the file
ctrl+f to the end of the file to turn a screen
ctrl+b to file The first turn a screen NZ to roll the nth row to the
top of the screen, do not specify n when the current row to the top of
the screen Insert text I at the front of the cursor I at the beginning of the current line
a cursor
A at the end of the current row
o New line under current line O New line on top of current line
R Replace current character
R Replaces the current character and its subsequent characters until the ESC key
S is started at the current cursor position to replace the specified number of characters with the input text