<< Shifts one line to the left.
canceled by pressing the Esc key. If you need information about the format of vi
subcommands, see "vi General Subcommand Syntax."p Puts back text from the undo buffer after the cursor.P Puts back text from the undo buffer before the cursor."xp Puts back text from the x buffer."xd Deletes text into the x buffer.y Places the object that follows (for example, w for word) into the undo buffer."xy Places the object that follows into the x buffer, where x is any letter.Y Places the line in the undo buffer.Restoring and Repeating ChangesUse the following subcommands in command mode. An incomplete subcommand can be
canceled by pressing the Esc key. If you need information about the format of vi
subcommands, see "vi General Subcommand Syntax."u Undoes the last change.Note: After an undo, the cursor moves to the first non-blank character on
the updated current line.U Restores the current line if the cursor has not left the line since the last
change.. Repeats the last change or increments the "np command.Notes:【vi用法集锦】 1. This subcommand will repeat the last change, including an undo.
Therefore, after an undo, repeat performs an undo rather than repeat
the last change.
2. This subcommand is not meant for use with a Macro. Enter @@ (two at
signs) to repeat a macro.
推荐阅读
- unixware7基本问题集锦
- dd 命令的用法
- dd 用法
- lift up用法
- 反义疑问句的用法归纳
- FreeBSD RCS用法
- make的用法和固定搭配
- 形式主语it的用法
- freebsd的PW命令用法详解
- FreeBSD chown的另一种用法