]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(man): use `nnoremap` to map to Ex commands
authorIvan Shapovalov <intelfx@intelfx.name>
Sat, 6 Jul 2024 14:16:40 +0000 (16:16 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 6 Jul 2024 14:17:07 +0000 (16:17 +0200)
commitf21ca6d1f105489d07422299e8746fbe8ea7bb8a
treeafd1f4ba7a2e906625c47074508e8a7d20468279
parent65407ce1d2963e7a758af8fecdcbd67b9a90bdb9
runtime(man): use `nnoremap` to map to Ex commands

If the user plays rebinding games such as

    nnoremap : ,
    nnoremap , :

(cf. https://konfekt.github.io/blog/2016/10/03/get-the-leader-right),
then the mappings defined by man.vim will become non-functional.

closes: #15130

Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/ftplugin/man.vim