aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2024-07-15 00:54:45 +0200
committerGitHub <noreply@github.com>2024-07-15 06:54:45 +0800
commit04c158fbec9aeeccd7bd1bb16fc8a688edadd353 (patch)
tree373aa0c994bb49fc796200aefc01eed2265f78c1 /runtime
parentda9e9387934554c069c763fb432aba1b83edb999 (diff)
downloadrneovim-04c158fbec9aeeccd7bd1bb16fc8a688edadd353.tar.gz
rneovim-04c158fbec9aeeccd7bd1bb16fc8a688edadd353.tar.bz2
rneovim-04c158fbec9aeeccd7bd1bb16fc8a688edadd353.zip
docs: misc (#29622)
Co-authored-by: Christian Clason <c.clason@uni-graz.at> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/builtin.txt2
-rw-r--r--runtime/doc/index.txt5
-rw-r--r--runtime/doc/various.txt2
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua2
4 files changed, 5 insertions, 6 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index de8bfc3aff..9c59dbf713 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -3583,7 +3583,7 @@ id({expr}) *id()*
Note that `v:_null_string`, `v:_null_list`, `v:_null_dict` and
`v:_null_blob` have the same `id()` with different types
because they are internally represented as NULL pointers.
- `id()` returns a hexadecimal representanion of the pointers to
+ `id()` returns a hexadecimal representation of the pointers to
the containers (i.e. like `0x994a40`), same as `printf("%p",
{expr})`, but it is advised against counting on the exact
format of the return value.
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt
index 384b133d4e..9ee75ea950 100644
--- a/runtime/doc/index.txt
+++ b/runtime/doc/index.txt
@@ -401,7 +401,7 @@ tag char note action in Normal mode ~
|q| q{0-9a-zA-Z"} record typed characters into named register
{0-9a-zA-Z"} (uppercase to append)
|q| q (while recording) stops recording
-|Q| Q replay last recorded macro
+|Q| Q 2 replay last recorded register
|q:| q: edit : command-line in command-line window
|q/| q/ edit / command-line in command-line window
|q?| q? edit ? command-line in command-line window
@@ -740,7 +740,7 @@ tag char note action in Normal mode ~
search pattern and Visually select it
|gP| ["x]gP 2 put the text [from register x] before the
cursor N times, leave the cursor after it
-|gQ| gQ switch to "Ex" mode with Vim editing
+|gQ| gQ switch to "Ex" mode with Vim editing
|gR| gR 2 enter Virtual Replace mode
|gT| gT go to the previous tab page
|gU| gU{motion} 2 make Nmove text uppercase
@@ -927,7 +927,6 @@ tag command note action in Visual mode ~
|v_O| O move horizontally to other corner of area
|v_P| P replace highlighted area with register
contents; registers are unchanged
- Q does not start Ex mode
|v_R| R 2 delete the highlighted lines and start
insert
|v_S| S 2 delete the highlighted lines and start
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 9afb871d93..1acd6941fd 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -215,7 +215,7 @@ gx Opens the current filepath or URL (decided by
This implies that an insert command must be completed
(to start Insert mode, see |:startinsert|). A ":"
command must be completed as well. And you can't use
- "Q" or "gQ" to start Ex mode.
+ "gQ" to start Ex mode.
The display is not updated while ":normal" is busy.
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index b18ca1ecf8..750f16ef06 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -4316,7 +4316,7 @@ function vim.fn.iconv(string, from, to) end
--- Note that `v:_null_string`, `v:_null_list`, `v:_null_dict` and
--- `v:_null_blob` have the same `id()` with different types
--- because they are internally represented as NULL pointers.
---- `id()` returns a hexadecimal representanion of the pointers to
+--- `id()` returns a hexadecimal representation of the pointers to
--- the containers (i.e. like `0x994a40`), same as `printf("%p",
--- {expr})`, but it is advised against counting on the exact
--- format of the return value.