aboutsummaryrefslogtreecommitdiff
path: root/runtime/plugin
diff options
context:
space:
mode:
authorAnmol Sethi <anmol@aubble.com>2016-08-11 10:20:44 -0400
committerAnmol Sethi <anmol@aubble.com>2016-08-24 11:51:59 -0400
commit728d5823331cf9d36ffa8389e5819e67324735d8 (patch)
treec6825e25d3abbd85e59a7592349c196a4217822f /runtime/plugin
parent8a7b15cf35f9873395916487c33b817673c56d86 (diff)
downloadrneovim-728d5823331cf9d36ffa8389e5819e67324735d8.tar.gz
rneovim-728d5823331cf9d36ffa8389e5819e67324735d8.tar.bz2
rneovim-728d5823331cf9d36ffa8389e5819e67324735d8.zip
man.vim: support for command modifiers
Closes #5235
Diffstat (limited to 'runtime/plugin')
-rw-r--r--runtime/plugin/man.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/plugin/man.vim b/runtime/plugin/man.vim
index d49276047f..f3fe7151ca 100644
--- a/runtime/plugin/man.vim
+++ b/runtime/plugin/man.vim
@@ -5,9 +5,9 @@ if exists('g:loaded_man')
endif
let g:loaded_man = 1
-command! -range=0 -complete=customlist,man#complete -nargs=+ Man call man#open_page(v:count, v:count1, <f-args>)
+command! -range=0 -complete=customlist,man#complete -nargs=+ Man call man#open_page(v:count, v:count1, <q-mods>, <f-args>)
-nnoremap <silent> <Plug>(Man) :<C-U>call man#open_page(v:count, v:count1, &filetype ==# 'man' ? expand('<cWORD>') : expand('<cword>'))<CR>
+nnoremap <silent> <Plug>(Man) :<C-U>call man#open_page(v:count, v:count1, '', &filetype ==# 'man' ? expand('<cWORD>') : expand('<cword>'))<CR>
augroup man
autocmd!