diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-07-08 17:33:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-08 17:33:43 +0200 |
commit | 0fb4d173f8faa7ec4736ceb3b4e89ada6f7d73e5 (patch) | |
tree | 93bb22888e979af1e86dba6c419a441f44e67f42 /runtime/doc/visual.txt | |
parent | 6720fe253e92b21c7f989389a64e363b5933884f (diff) | |
parent | 829e1f2c43f84caa74c68e8a473d5faf8ec96c48 (diff) | |
download | rneovim-0fb4d173f8faa7ec4736ceb3b4e89ada6f7d73e5.tar.gz rneovim-0fb4d173f8faa7ec4736ceb3b4e89ada6f7d73e5.tar.bz2 rneovim-0fb4d173f8faa7ec4736ceb3b4e89ada6f7d73e5.zip |
Merge #6945 from justinmk/cpoptions
Diffstat (limited to 'runtime/doc/visual.txt')
-rw-r--r-- | runtime/doc/visual.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/visual.txt b/runtime/doc/visual.txt index e9f5bf91f8..cf804444e5 100644 --- a/runtime/doc/visual.txt +++ b/runtime/doc/visual.txt @@ -271,7 +271,7 @@ mode. For example, if you would like the "/" command not to extend the Visual area, but instead take the highlighted text and search for that: > :vmap / y/<C-R>"<CR> (In the <> notation |<>|, when typing it you should type it literally; you -need to remove the 'B' and '<' flags from 'cpoptions'.) +need to remove the 'B' flag from 'cpoptions'.) If you want to give a register name using the """ command, do this just before typing the operator character: "v{move-around}"xd". @@ -375,7 +375,7 @@ Here is an example, to replace the selected text with the output of "date": > :vmap _a <Esc>`>a<CR><Esc>`<i<CR><Esc>!!date<CR>kJJ (In the <> notation |<>|, when typing it you should type it literally; you -need to remove the 'B' and '<' flags from 'cpoptions') +need to remove the 'B' flag from 'cpoptions') What this does is: <Esc> stop Visual mode @@ -392,7 +392,7 @@ selected text: > :vmap X y/<C-R>"<CR> (In the <> notation |<>|, when typing it you should type it literally; you -need to remove the 'B' and '<' flags from 'cpoptions') +need to remove the 'B' flag from 'cpoptions') Note that special characters (like '.' and '*') will cause problems. |