diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2019-11-20 00:31:22 -0800 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2019-11-20 00:31:22 -0800 |
| commit | 525bb1b55d8771939f0a9d72a532abc8f2134445 (patch) | |
| tree | afb684e361de054df7e407d713f5aef298f5bd1e /runtime/ftplugin | |
| parent | 182d3cebcf9831c0c8150be974dde3dd98251969 (diff) | |
| parent | 807e4039cb209539dc71aacbd1718666c18d4552 (diff) | |
| download | rneovim-525bb1b55d8771939f0a9d72a532abc8f2134445.tar.gz rneovim-525bb1b55d8771939f0a9d72a532abc8f2134445.tar.bz2 rneovim-525bb1b55d8771939f0a9d72a532abc8f2134445.zip | |
Merge #11280 "man.vim: implement 'tagfunc'"
Diffstat (limited to 'runtime/ftplugin')
| -rw-r--r-- | runtime/ftplugin/man.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim index 6c7f095f62..b3b23833ba 100644 --- a/runtime/ftplugin/man.vim +++ b/runtime/ftplugin/man.vim @@ -20,13 +20,13 @@ setlocal wrap breakindent linebreak setlocal nonumber norelativenumber setlocal foldcolumn=0 colorcolumn=0 nolist nofoldenable +setlocal tagfunc=man#goto_tag + if !exists('g:no_plugin_maps') && !exists('g:no_man_maps') nnoremap <silent> <buffer> j gj nnoremap <silent> <buffer> k gk nnoremap <silent> <buffer> gO :call man#show_toc()<CR> - nnoremap <silent> <buffer> <C-]> :Man<CR> nnoremap <silent> <buffer> K :Man<CR> - nnoremap <silent> <buffer> <C-T> :call man#pop_tag()<CR> if 1 == bufnr('%') || s:pager nnoremap <silent> <buffer> <nowait> q :lclose<CR>:q<CR> else |