aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-04-29 22:10:25 +0800
committerGitHub <noreply@github.com>2022-04-29 22:10:25 +0800
commitd5dc3dad80ab1aef1d5e2afcc4d44a779605da8b (patch)
tree50a8f20df8aa6b883a7cb2da0bcda564bd12c5dd /runtime
parent8c548c9e5416b4e25b51c018ceaa433756ee99b1 (diff)
parent7ac5359143ef25c4c8c0c427d5533f8d5824ed17 (diff)
downloadrneovim-d5dc3dad80ab1aef1d5e2afcc4d44a779605da8b.tar.gz
rneovim-d5dc3dad80ab1aef1d5e2afcc4d44a779605da8b.tar.bz2
rneovim-d5dc3dad80ab1aef1d5e2afcc4d44a779605da8b.zip
Merge pull request #18305 from zeertzjq/mapping-rhs
feat(mappings): do not simplify the rhs of a mapping
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/vim_diff.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index bada506c63..524978f523 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -366,8 +366,9 @@ Macro/|recording| behavior
the results of keys from 'keymap'.
Mappings:
- Creating a mapping for a simplifiable key (e.g. <C-I>) doesn't replace an
+- Creating a mapping for a simplifiable key (e.g. <C-I>) doesn't replace an
existing mapping for its simplified form (e.g. <Tab>).
+- The rhs of a mapping is not simplified when it is defined.
Motion:
The |jumplist| avoids useless/phantom jumps.