diff options
author | shadmansaleh <13149513+shadmansaleh@users.noreply.github.com> | 2022-01-07 17:28:14 +0600 |
---|---|---|
committer | shadmansaleh <13149513+shadmansaleh@users.noreply.github.com> | 2022-02-27 08:21:21 +0600 |
commit | 0347875a5c11258ebb6377a1ab79b04fe9c55bc9 (patch) | |
tree | 695e136b1f68b72cf3244ed424e340e41acf51b4 /runtime | |
parent | 84812bcc2c5577d387ab59048bf18ad443bdf79b (diff) | |
download | rneovim-0347875a5c11258ebb6377a1ab79b04fe9c55bc9.tar.gz rneovim-0347875a5c11258ebb6377a1ab79b04fe9c55bc9.tar.bz2 rneovim-0347875a5c11258ebb6377a1ab79b04fe9c55bc9.zip |
feat: ignore nore on <Plug> maps
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/map.txt | 3 | ||||
-rw-r--r-- | runtime/doc/vim_diff.txt | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index 358e944261..e73bf3c453 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -65,6 +65,9 @@ modes. where the map command applies. Disallow mapping of {rhs}, to avoid nested and recursive mappings. Often used to redefine a command. + Note: "nore" is ignored for a mapping whose result + starts with <Plug>. <Plug> is always remapped even if + "nore" is used. :unm[ap] {lhs} |mapmode-nvo| *:unm* *:unmap* diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index 5ea6a9c5dd..d7a65756bf 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -442,6 +442,9 @@ Working directory (Vim implemented some of these later than Nvim): - `getcwd(-1)` is equivalent to `getcwd(-1, 0)` instead of returning the global working directory. Use `getcwd(-1, -1)` to get the global working directory. +Mappings: +- |nore| is ignored for rhs <Plug> mappings. <Plug> mappings are always remapped. + ============================================================================== 5. Missing legacy features *nvim-features-missing* |