From f50d455f36e7cf8defdd30baa468e524f6f7d8b1 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Wed, 6 Mar 2019 14:38:11 +0300 Subject: [PATCH] fix tmux splitting parameter --- rc/fzf.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'"