From: nyngwang Date: Wed, 3 Jun 2026 17:57:40 +0000 (+0000) Subject: runtime(doc): Update mapping descriptions X-Git-Tag: v9.2.0589~1 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=dec5b3a72ac616fec0db98e56fda10daad9aab65;p=thirdparty%2Fvim.git runtime(doc): Update mapping descriptions closes: #20411 Signed-off-by: nyngwang Signed-off-by: Christian Brabandt --- diff --git a/runtime/doc/usr_51.txt b/runtime/doc/usr_51.txt index 82bb0faf22..e8fb68bced 100644 --- a/runtime/doc/usr_51.txt +++ b/runtime/doc/usr_51.txt @@ -1,4 +1,4 @@ -*usr_51.txt* For Vim version 9.2. Last change: 2026 Jun 02 +*usr_51.txt* For Vim version 9.2. Last change: 2026 Jun 03 VIM USER MANUAL by Bram Moolenaar @@ -250,6 +250,9 @@ difference between using and : only conventions to keep the name readable and unlikely to clash with other plugins. None of them are required: all that matters is that the sequence starts with "" and is unique. + A mapping whose {lhs} starts with is always applied to the + {rhs} of another mapping, even if remapping is explicitly disallowed. + |:nore| is the script ID, a unique identifier for a script. Internally Vim translates to "123_", where "123" can be any @@ -258,6 +261,8 @@ difference between using and : you use the ":function" command to get a list of functions. The translation of in mappings is exactly the same, that's how you can call a script-local function from a mapping. + Note: when appears in the {rhs} of a mapping, you might consider + using