diff --git a/rc/fzf.kak b/rc/fzf.kak index 9e96967..5453d23 100644 --- a/rc/fzf.kak +++ b/rc/fzf.kak @@ -176,7 +176,7 @@ fzf -params 2..4 %{ evaluate-commands %sh{ chmod 755 $fzfcmd if [ -n "$kak_client_env_TMUX" ]; then - [ -n "${tmux_height%%*%}" ] && measure="-p" || measure="-p" + [ -n "${tmux_height%%*%}" ] && measure="-l" || measure="-p" cmd="command tmux split-window $measure ${tmux_height%%%*} 'sh -c $fzfcmd'" elif [ -n "$kak_opt_termcmd" ]; then cmd="$kak_opt_termcmd 'sh -c $fzfcmd'"