[RFC] man.vim: remove <Plug> mappings (#5290)

- :Man with no arguments opens the manapage for the
  <cWORD> (man buffers) or <cword> (non-man buffers).
- remove now irrelevent comment about -P flag
This commit is contained in:
Anmol Sethi
2016-09-03 21:53:58 -04:00
committed by Justin M. Keyes
parent 626065d385
commit 9bba8ba372
4 changed files with 10 additions and 22 deletions

View File

@@ -43,8 +43,8 @@ setlocal nolist
setlocal nofoldenable
if !exists('g:no_plugin_maps') && !exists('g:no_man_maps')
nmap <silent> <buffer> <C-]> <Plug>(man)
nmap <silent> <buffer> K <Plug>(man)
nmap <silent> <buffer> <C-]> :Man<CR>
nmap <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>