mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-16 15:23:51 -05:00
Change :Git! to split by default
This commit is contained in:
@@ -1960,7 +1960,7 @@ function! s:GitCommand(line1, line2, range, count, bang, mods, reg, arg, args) a
|
||||
let tree = s:Tree(dir)
|
||||
let [args, after] = s:SplitExpandChain(a:arg, tree)
|
||||
if a:bang
|
||||
return s:OpenExec('edit', a:mods, args, dir) . after
|
||||
return s:OpenExec((a:count > 0 ? a:count : '') . (a:count ? 'split' : 'edit'), a:mods, args, dir) . after
|
||||
endif
|
||||
let git = s:UserCommand(dir)
|
||||
if has('gui_running') && !has('win32')
|
||||
|
||||
Reference in New Issue
Block a user