diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 550c374..5949f0a 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -108,6 +108,31 @@ function! s:recall() abort return rev endfunction +function! s:map(mode, lhs, rhs, ...) abort + let flags = (a:0 ? a:1 : '') . (a:rhs =~# '^' ? '' : '