mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
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:
parent
02a9824438
commit
c8c296557b
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user