diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-09-21 20:09:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-09-21 20:09:51 +0200 |
commit | 34cc7d8c034f2bc5b57455577051db8d72e2b87c (patch) | |
tree | de1790044f221b5cc942b47d42dff8b847fd9db3 /runtime/tutor/tutor.utf-8 | |
parent | 690c524ce6629f9ff67728541ba211f831caf0ee (diff) |
Update runtime files
Diffstat (limited to 'runtime/tutor/tutor.utf-8')
-rw-r--r-- | runtime/tutor/tutor.utf-8 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/runtime/tutor/tutor.utf-8 b/runtime/tutor/tutor.utf-8 index bbad00dc20..a78e6a4b1a 100644 --- a/runtime/tutor/tutor.utf-8 +++ b/runtime/tutor/tutor.utf-8 @@ -347,25 +347,25 @@ Doubling to operate on a line also works for operators mentioned below. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 |