Skip to content

Commit 9cc11c2

Browse files
committed
map.txt: Update Vim 8.2.5167
1 parent 594ec6b commit 9cc11c2

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

en/map.txt

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*map.txt* For Vim version 8.2. Last change: 2022 Jun 02
1+
*map.txt* For Vim version 8.2. Last change: 2022 Jun 18
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -177,16 +177,16 @@ Because it tries to unmap "@@ ", including the white space before the command
177177
separator "|". Other examples with trailing white space: >
178178
unmap @@
179179
unmap @@ # Vim9 script comment
180-
unmap @@ " legacy comment
180+
unmap @@ " legacy script comment
181181
182182
An error will be issued, which is very hard to identify, because the ending
183183
whitespace character in `unmap @@ ` is not visible.
184184

185185
A generic solution is to put the command separator "|" right after the mapped
186186
keys. After that white space and a comment may follow: >
187187
188-
unmap @@| # Vim9 scriptcomment
189-
unmap @@| " legacy scriptcomment
188+
unmap @@| # Vim9 script comment
189+
unmap @@| " legacy script comment
190190
191191
192192
1.2 SPECIAL ARGUMENTS *:map-arguments*
@@ -195,7 +195,8 @@ keys. After that white space and a comment may follow: >
195195
"<unique>" can be used in any order. They must appear right after the
196196
command, before any other arguments.
197197

198-
*:map-local* *:map-<buffer>* *:map-buffer* *E224* *E225*
198+
*:map-local* *:map-<buffer>* *:map-buffer*
199+
*E224* *E225*
199200
If the first argument to one of these commands is "<buffer>" the mapping will
200201
be effective in the current buffer only. Example: >
201202
:map <buffer> ,w /[.,;]<CR>
@@ -394,8 +395,6 @@ Note:
394395
mapping is recursive.
395396
- In Visual mode you can use `line('v')` and `col('v')` to get one end of the
396397
Visual area, the cursor is at the other end.
397-
- In Select mode, |:map| and |:vmap| command mappings are executed in
398-
Visual mode. Use |:smap| to handle Select mode differently.
399398

400399
*E1255* *E1136*
401400
<Cmd> and <ScriptCmd> commands must terminate, that is, they must be followed

0 commit comments

Comments
 (0)