Skip to content
Snippets Groups Projects
Commit d91c3a2f authored by Junegunn Choi's avatar Junegunn Choi Committed by GitHub
Browse files

Merge pull request #593 from edi9999/master

Add fzf_prefer_tmux option
parents cf9c957c fe5db5aa
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment