summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2023-11-05 11:25:40 +1100
committerMaxime Coste <mawww@kakoune.org>2023-11-05 11:25:40 +1100
commit465e0280d866600dfbc8abb694a4bbd255a701ee (patch)
treec4de95f3c645528f5c28903f41cc8a954ea1fff9
parent1da8952e1fa3004dcd8b47792f1af45dafa3a23e (diff)
parent5d55ecc879be479dcf018bfb5ce17a634060ed45 (diff)
Merge remote-tracking branch 'Screwtapello/document-non-recursive-mappings'
-rw-r--r--doc/pages/mapping.asciidoc6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/pages/mapping.asciidoc b/doc/pages/mapping.asciidoc
index a67b7038..e96845ca 100644
--- a/doc/pages/mapping.asciidoc
+++ b/doc/pages/mapping.asciidoc
@@ -65,7 +65,7 @@ map global user n :make-next-error<ret>
If you make a normal-mode mapping, you can prefix it with a count or a register
name like any other normal-mode key. You can forward this information to the
command you invoke with the `%val{count}` and `%val{register}` expansions
-(See <<expansions#`:doc expansions`>>). For example:
+(See <<expansions#,`:doc expansions`>>). For example:
----
map global normal = ':echo Got count %val{count} and reg %val{register}<ret>'
@@ -73,7 +73,9 @@ map global normal = ':echo Got count %val{count} and reg %val{register}<ret>'
== Mappable keys
-See <<keys#,`:doc keys`>> to discover the list of default bindings.
+See <<keys#,`:doc keys`>> to learn what each key does in each mode. The keys on
+the right-hand side of the mapping are not affected by other mappings, they
+always perform their original function.
For *key* and *keys* in the *map* command, the following key names can
be used: