diff options
Diffstat (limited to 'plugin/fzf.vim')
-rw-r--r-- | plugin/fzf.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 93611818..ba5fb254 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -140,10 +140,10 @@ try else let prefix = '' endif - let tmux = !has('nvim') && s:tmux_enabled() && s:splittable(dict) + let tmux = (!has('nvim') || get(g:, 'fzf_prefer_tmux', 0)) && s:tmux_enabled() && s:splittable(dict) let command = prefix.(tmux ? s:fzf_tmux(dict) : fzf_exec).' '.optstr.' > '.temps.result - if has('nvim') + if has('nvim') && !tmux return s:execute_term(dict, command, temps) endif |