diff options
Diffstat (limited to 'runtime/ftplugin/man.vim')
-rw-r--r-- | runtime/ftplugin/man.vim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim index 91e8a8b78c..f0723ef7bf 100644 --- a/runtime/ftplugin/man.vim +++ b/runtime/ftplugin/man.vim @@ -4,6 +4,7 @@ " Maintainer: SungHyun Nam <goweol@gmail.com> " Autoload Split: Bram Moolenaar " Last Change: 2024 Jun 06 (disabled the q mapping, #8210) +" 2024 Jul 06 (use nnoremap, #15130) " To make the ":Man" command available before editing a manual page, source " this script from your startup vimrc file. @@ -61,8 +62,8 @@ endif if exists(":Man") != 2 com -nargs=+ -complete=shellcmd Man call dist#man#GetPage(<q-mods>, <f-args>) - nmap <Leader>K :call dist#man#PreGetPage(0)<CR> - nmap <Plug>ManPreGetPage :call dist#man#PreGetPage(0)<CR> + nnoremap <Leader>K :call dist#man#PreGetPage(0)<CR> + nnoremap <Plug>ManPreGetPage :call dist#man#PreGetPage(0)<CR> endif let &cpo = s:cpo_save |