aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-07-14 16:49:03 +0800
committerGitHub <noreply@github.com>2024-07-14 16:49:03 +0800
commitf0eb855607f82026d8a32dffb3cdf59212694538 (patch)
treeb4532a00a60eefe2aee77e7bdbf7ef1eb769c9da /runtime
parent49ba36becd0bbf1052802b846f418aee673b28a5 (diff)
parentc8401515cdaad20220e30f5a0c39ddb7bae77f5e (diff)
downloadrneovim-f0eb855607f82026d8a32dffb3cdf59212694538.tar.gz
rneovim-f0eb855607f82026d8a32dffb3cdf59212694538.tar.bz2
rneovim-f0eb855607f82026d8a32dffb3cdf59212694538.zip
Merge pull request #29696 from zeertzjq/vim-9.1.0573
vim-patch:9.1.{0573,0574,0582}
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/insert.txt10
-rw-r--r--runtime/doc/motion.txt1
2 files changed, 11 insertions, 0 deletions
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index 6eda76f239..e12f240430 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -1927,6 +1927,16 @@ These two commands will keep on asking for lines, until you type a line
containing only a ".". Watch out for lines starting with a backslash, see
|line-continuation|.
+Text typed after a "|" command separator is used first. So the following
+command in ex mode: >
+ :a|one
+ two
+ .
+ :visual
+<appends the following text, after the cursor line: >
+ one
+ two
+<
NOTE: These commands cannot be used with |:global| or |:vglobal|.
":append" and ":insert" don't work properly in between ":if" and
":endif", ":for" and ":endfor", ":while" and ":endwhile".
diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt
index e80969c583..26e4ada7d4 100644
--- a/runtime/doc/motion.txt
+++ b/runtime/doc/motion.txt
@@ -342,6 +342,7 @@ gg Goto line [count], default first line, on the first
*:[range]*
:[range] Set the cursor on the last line number in [range].
+ In Ex mode, print the lines in [range].
[range] can also be just one line number, e.g., ":1"
or ":'m".
In contrast with |G| this command does not modify the