aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2016-12-15 17:36:55 +0100
committerGitHub <noreply@github.com>2016-12-15 17:36:55 +0100
commitc8c296557b7e7776617737c4080538eafa0d8a81 (patch)
tree61c058c817585933bb4f3e85a6f099abe938d622
parent02a9824438adb89eed8b0230068bb95bbf7ce97c (diff)
downloadrneovim-c8c296557b7e7776617737c4080538eafa0d8a81.tar.gz
rneovim-c8c296557b7e7776617737c4080538eafa0d8a81.tar.bz2
rneovim-c8c296557b7e7776617737c4080538eafa0d8a81.zip
Man: use non-recursive mappings for :Man (#5777)
This is a regression introduced by: https://github.com/neovim/neovim/pull/5290/files#diff-8691c83194ea5f1342ecc9f17b4c51d8R46 When the <plug> mappings were changed to using :Man, they should have changed to use `nnoremap` as well. Fixes #5776.
-rw-r--r--runtime/ftplugin/man.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim
index 63bafa1925..5d83886f56 100644
--- a/runtime/ftplugin/man.vim
+++ b/runtime/ftplugin/man.vim
@@ -31,8 +31,8 @@ setlocal nolist
setlocal nofoldenable
if !exists('g:no_plugin_maps') && !exists('g:no_man_maps')
- nmap <silent> <buffer> <C-]> :Man<CR>
- nmap <silent> <buffer> K :Man<CR>
+ nnoremap <silent> <buffer> <C-]> :Man<CR>
+ nnoremap <silent> <buffer> K :Man<CR>
nnoremap <silent> <buffer> <C-T> :call man#pop_tag()<CR>
if s:pager
nnoremap <silent> <buffer> <nowait> q :q<CR>