Skip to content

Commit

Permalink
Instead of running edit run vsplit for first file and split for all f…
Browse files Browse the repository at this point in the history
…iles after
  • Loading branch information
TylerSeanRau committed Apr 25, 2023
1 parent 65dd2bb commit 404ee5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/fzf.vim
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ function! s:common_sink(action, lines) abort
return
endif
let key = remove(a:lines, 0)
let Cmd = get(a:action, key, 'e')
let Cmd = get(a:action, key, ( winnr()<2 ? 'vsplit' : 'split' ) )
if type(Cmd) == type(function('call'))
return Cmd(a:lines)
endif
Expand Down

0 comments on commit 404ee5d

Please sign in to comment.