diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2016-08-04 23:53:11 -0400 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2016-08-04 23:53:11 -0400 |
| commit | 4dc4efc36fad058298d69d4b2533beded3293c33 (patch) | |
| tree | e5901ccb3b487097882c4293312a825c8fbd305d /runtime/plugin | |
| parent | a8e973dea6871ccce4a86a104bfbed05ad671e5e (diff) | |
| parent | 66ceb5a487eff0b856142b41ce0a95d3b1ea85e5 (diff) | |
| download | rneovim-4dc4efc36fad058298d69d4b2533beded3293c33.tar.gz rneovim-4dc4efc36fad058298d69d4b2533beded3293c33.tar.bz2 rneovim-4dc4efc36fad058298d69d4b2533beded3293c33.zip | |
Merge #4449 'man.vim'
Diffstat (limited to 'runtime/plugin')
| -rw-r--r-- | runtime/plugin/man.vim | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/plugin/man.vim b/runtime/plugin/man.vim index 8e5062a209..c47459a551 100644 --- a/runtime/plugin/man.vim +++ b/runtime/plugin/man.vim @@ -1,6 +1,10 @@ -if get(g:, 'loaded_man', 0) +" Maintainer: Anmol Sethi <anmol@aubble.com> + +if exists('g:loaded_man') finish endif let g:loaded_man = 1 -command! -count=0 -nargs=+ Man call man#get_page(<count>, <f-args>) +command! -complete=customlist,man#complete -nargs=* Man call man#open_page_command(<f-args>) + +nnoremap <silent> <Plug>(Man) :<C-U>call man#open_page_mapping(v:count, v:count1, expand('<cWORD>'))<CR> |