aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-09-18 15:20:20 +0200
committerGitHub <noreply@github.com>2022-09-18 15:20:20 +0200
commit67df3347fd1e637f643b35239f7a20ac813ee588 (patch)
tree1dd1a5ca375a24225b86da10d55e7d08306b65bf /runtime/doc
parent8dc61713d9db433dfa2024b45f3bc590dcb58f83 (diff)
downloadrneovim-67df3347fd1e637f643b35239f7a20ac813ee588.tar.gz
rneovim-67df3347fd1e637f643b35239f7a20ac813ee588.tar.bz2
rneovim-67df3347fd1e637f643b35239f7a20ac813ee588.zip
vim-patch:9712ff1288f9 (#20240)
Update runtime files https://github.com/vim/vim/commit/9712ff1288f942736ed76c0dec014909f067eec9
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/change.txt19
-rw-r--r--runtime/doc/intro.txt4
-rw-r--r--runtime/doc/spell.txt2
-rw-r--r--runtime/doc/userfunc.txt4
4 files changed, 21 insertions, 8 deletions
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
index a4ff4474e6..bed5cb26d7 100644
--- a/runtime/doc/change.txt
+++ b/runtime/doc/change.txt
@@ -1130,11 +1130,20 @@ 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
-each of the selected lines (thus replacing the blockwise selected region by a
-block of the pasted line).
+ *blockwise-put*
+When a register contains text from one line (characterwise), using a
+blockwise Visual selection, putting that register will paste that text
+repeatedly in each of the selected lines, thus replacing the blockwise
+selected region by multiple copies of the register text. For example:
+ - yank the word "TEXT" into a register with `yw`
+ - select a visual block, marked with "v" in this text:
+ aaavvaaa
+ bbbvvbbb
+ cccvvccc
+ - press `p`, results in:
+ aaaTEXTaaa
+ bbbTEXTbbb
+ cccTEXTccc
*blockwise-register*
If you use a blockwise Visual mode command to get the text into the register,
diff --git a/runtime/doc/intro.txt b/runtime/doc/intro.txt
index ae80935032..a5630dabaa 100644
--- a/runtime/doc/intro.txt
+++ b/runtime/doc/intro.txt
@@ -416,6 +416,10 @@ one always works.
To get a literal "<lt>" in a mapping: >
:map <C-L> <lt>lt>
+The notation can be used in a double quoted strings, using "\<" at the start,
+e.g. "\<C-Space>". This results in a special key code. To convert this back
+to readable text use `keytrans()`.
+
==============================================================================
Modes, introduction *vim-modes-intro* *vim-modes*
diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt
index 23d5905ec3..15aa0117ec 100644
--- a/runtime/doc/spell.txt
+++ b/runtime/doc/spell.txt
@@ -1583,7 +1583,7 @@ CHECKCOMPOUNDTRIPLE (Hunspell) *spell-CHECKCOMPOUNDTRIPLE*
Forbid three identical characters when compounding. Not
supported.
-CHECKSHARPS (Hunspell)) *spell-CHECKSHARPS*
+CHECKSHARPS (Hunspell) *spell-CHECKSHARPS*
SS letter pair in uppercased (German) words may be upper case
sharp s (ß). Not supported.
diff --git a/runtime/doc/userfunc.txt b/runtime/doc/userfunc.txt
index c701834383..c015b12c27 100644
--- a/runtime/doc/userfunc.txt
+++ b/runtime/doc/userfunc.txt
@@ -12,7 +12,7 @@ This is introduced in section |41.7| of the user manual.
==============================================================================
-1. Defining a fuction ~
+1. Defining a function ~
*define-function*
New functions can be defined. These can be called just like builtin
functions. The function executes a sequence of Ex commands. Normal mode
@@ -287,7 +287,7 @@ This function can then be called with: >
<
==============================================================================
-2. Calling a fuction ~
+2. Calling a function ~
*:cal* *:call* *E107* *E117*
:[range]cal[l] {name}([arguments])
Call a function. The name of the function and its arguments