Mercurial > vim
diff runtime/tutor/tutor.utf-8 @ 25836:65de67669df3
Update runtime files
Commit: https://github.com/vim/vim/commit/34cc7d8c034f2bc5b57455577051db8d72e2b87c
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 21 20:09:51 2021 +0200
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 21 Sep 2021 20:15:04 +0200 |
parents | d4faa2c5211b |
children | 179c118424a6 |
line wrap: on
line diff
--- a/runtime/tutor/tutor.utf-8 +++ b/runtime/tutor/tutor.utf-8 @@ -347,25 +347,25 @@ Doubling to operate on a line also works ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Lesson 2 SUMMARY + 1. To delete from the cursor up to the next word type: dw + 2. To delete from the cursor up to the end of the word type: de + 3. To delete from the cursor to the end of a line type: d$ + 4. To delete a whole line type: dd - 1. To delete from the cursor up to the next word type: dw - 2. To delete from the cursor to the end of a line type: d$ - 3. To delete a whole line type: dd - - 4. To repeat a motion prepend it with a number: 2w - 5. The format for a change command is: + 5. To repeat a motion prepend it with a number: 2w + 6. The format for a change command is: operator [number] motion where: operator - is what to do, such as d for delete [number] - is an optional count to repeat the motion motion - moves over the text to operate on, such as w (word), - $ (to the end of line), etc. + e (end of word), $ (end of the line), etc. - 6. To move to the start of the line use a zero: 0 + 7. To move to the start of the line use a zero: 0 - 7. To undo previous actions, type: u (lowercase u) + 8. To undo previous actions, type: u (lowercase u) To undo all the changes on a line, type: U (capital U) - To undo the undo's, type: CTRL-R + To undo the undo's, type: CTRL-R ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Lesson 3.1: THE PUT COMMAND