[vim] Native --tmux fix for Neovim

This commit is contained in:
Junegunn Choi
2024-05-28 19:25:28 +09:00
parent 32eb32ee5e
commit 782de139c8
3 changed files with 10 additions and 3 deletions

View File

@@ -592,7 +592,7 @@ function! s:fzf_tmux(dict)
end
" Using native --tmux option
let in = (has_key(a:dict, 'source') ? '' : ' < /dev/tty')
let in = (has_key(a:dict, 'source') ? '' : ' --force-tty-in')
return printf('%s --tmux %s%s', fzf#shellescape(fzf#exec()), size, in)
endfunction