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.
This commit is contained in:
Marco Hinz 2016-12-15 17:36:55 +01:00 committed by GitHub
parent 02a9824438
commit c8c296557b

View File

@ -31,8 +31,8 @@ setlocal nolist
setlocal nofoldenable setlocal nofoldenable
if !exists('g:no_plugin_maps') && !exists('g:no_man_maps') if !exists('g:no_plugin_maps') && !exists('g:no_man_maps')
nmap <silent> <buffer> <C-]> :Man<CR> nnoremap <silent> <buffer> <C-]> :Man<CR>
nmap <silent> <buffer> K :Man<CR> nnoremap <silent> <buffer> K :Man<CR>
nnoremap <silent> <buffer> <C-T> :call man#pop_tag()<CR> nnoremap <silent> <buffer> <C-T> :call man#pop_tag()<CR>
if s:pager if s:pager
nnoremap <silent> <buffer> <nowait> q :q<CR> nnoremap <silent> <buffer> <nowait> q :q<CR>