mirror of
https://github.com/vim/vim.git
synced 2025-10-21 08:24:06 -04:00
runtime(doc): document global insert behavior
This is a partial revert of 8f3f58f
since this issue was fixed in #15120.
related: #15120
Signed-off-by: Mohamed Akram <mohd.akram@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
28145e005d
commit
6d6dffa611
@@ -2005,8 +2005,15 @@ command in ex mode: >
|
|||||||
one
|
one
|
||||||
two
|
two
|
||||||
<
|
<
|
||||||
NOTE: These commands cannot be used with |:global| or |:vglobal|.
|
In |Ex-mode|, when these commands are used with |:global| or |:vglobal| then
|
||||||
":append" and ":insert" don't work properly in between ":if" and
|
the lines are obtained from the text following the command. Separate lines
|
||||||
|
with a NL escaped with a backslash: >
|
||||||
|
:global/abc/insert\
|
||||||
|
one line\
|
||||||
|
another line
|
||||||
|
The final "." is not needed then.
|
||||||
|
|
||||||
|
NOTE: ":append" and ":insert" don't work properly in between ":if" and
|
||||||
":endif", ":for" and ":endfor", ":while" and ":endwhile".
|
":endif", ":for" and ":endfor", ":while" and ":endwhile".
|
||||||
|
|
||||||
*:start* *:startinsert*
|
*:start* *:startinsert*
|
||||||
|
Reference in New Issue
Block a user