diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/change.txt | 17 | ||||
-rw-r--r-- | runtime/doc/index.txt | 2 | ||||
-rw-r--r-- | runtime/doc/visual.txt | 2 |
3 files changed, 11 insertions, 10 deletions
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt index 8e666484d7..a868983a61 100644 --- a/runtime/doc/change.txt +++ b/runtime/doc/change.txt @@ -1116,14 +1116,15 @@ register. With blockwise selection it also depends on the size of the block and whether the corners are on an existing character. (Implementation detail: it actually works by first putting the register after the selection and then deleting the selection.) -With 'p' the previously selected text is put in the unnamed register. This is -useful if you want to put that text somewhere else. But you cannot repeat the -same change. -With 'P' the unnamed register is not changed, you can repeat the same change. -But the deleted text cannot be used. If you do need it you can use 'p' with -another register. E.g., yank the text to copy, Visually select the text to -replace and use "0p . You can repeat this as many times as you like, and the -unnamed register will be changed each time. +With |p| the previously selected text is put in the unnamed register (and +possibly the selection and/or clipboard). This is useful if you want to put +that text somewhere else. But you cannot repeat the same change. +With |P| the unnamed register is not changed (and neither the selection or +clipboard), you can repeat the same change. But the deleted text cannot be +used. If you do need it you can use |p| with another register. E.g., yank +the text to copy, Visually select the text to replace and use "0p . You can +repeat this as many times as you like, and the unnamed register will be +changed each time. When you use a blockwise Visual mode command and yank only a single line into a register, a paste on a visual selected area will paste that single line on diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt index 572b4e3f93..5c36eaf8e5 100644 --- a/runtime/doc/index.txt +++ b/runtime/doc/index.txt @@ -927,7 +927,7 @@ tag command note action in Visual mode ~ |v_K| K run 'keywordprg' on the highlighted area |v_O| O move horizontally to other corner of area |v_P| P replace highlighted area with register - contents; unnamed register is unchanged + contents; registers are unchanged Q does not start Ex mode |v_R| R 2 delete the highlighted lines and start insert diff --git a/runtime/doc/visual.txt b/runtime/doc/visual.txt index 4d5366a41a..193c70e70a 100644 --- a/runtime/doc/visual.txt +++ b/runtime/doc/visual.txt @@ -255,7 +255,7 @@ Additionally the following commands can be used: X delete (2) |v_X| Y yank (2) |v_Y| p put |v_p| - P put without unnamed register overwrite |v_P| + P put without overwriting registers |v_P| J join (1) |v_J| U make uppercase |v_U| u make lowercase |v_u| |