Skip to content
Snippets Groups Projects
Unverified Commit 1a50f1ec authored by Junegunn Choi's avatar Junegunn Choi
Browse files

[vim] Use --height instead of fzf-tmux

parent 1448d631
No related branches found
No related tags found
No related merge requests found
......@@ -298,7 +298,8 @@ try
endif
let use_height = has_key(dict, 'down') &&
\ !(has('nvim') || has('win32') || has('win64') || s:present(dict, 'up', 'left', 'right'))
\ !(has('nvim') || has('win32') || has('win64') || s:present(dict, 'up', 'left', 'right')) &&
\ executable('tput') && filereadable('/dev/tty')
let tmux = !use_height && (!has('nvim') || get(g:, 'fzf_prefer_tmux', 0)) && s:tmux_enabled() && s:splittable(dict)
let term = has('nvim') && !tmux
if use_height
......
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