diff options
Diffstat (limited to 'runtime/ftplugin/man.vim')
| -rw-r--r-- | runtime/ftplugin/man.vim | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim index a35966f6a9..38c6c7d71e 100644 --- a/runtime/ftplugin/man.vim +++ b/runtime/ftplugin/man.vim @@ -14,21 +14,18 @@ if exists('$MANPAGER') let $MANPAGER = '' endif -" allow dot and dash in manual page name. setlocal iskeyword+=\.,-,(,) -" Avoid warning for editing the dummy file twice setlocal buftype=nofile noswapfile - setlocal nomodifiable readonly bufhidden=hide nobuflisted setlocal tabstop=8 colorcolumn=0 if !exists("g:no_plugin_maps") && !exists("g:no_man_maps") - nnoremap <silent> <buffer> <C-]> :call man#pre_get_page(v:count)<CR> + nnoremap <silent> <buffer> <C-]> :call man#get_page(v:count)<CR> nnoremap <silent> <buffer> <C-T> :call man#pop_page()<CR> nnoremap <silent> <nowait><buffer> q <C-W>c if &keywordprg !=# ':Man' - nnoremap <silent> <buffer> K :call man#pre_get_page(v:count)<CR> + nnoremap <silent> <buffer> K :call man#get_page(v:count)<CR> endif endif |