Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Commit

Permalink
Improve latency when creating tmux windows #77
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyorst committed Mar 6, 2020
1 parent f697b7d commit e862cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rc/fzf.kak
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ fzf -params .. %{ evaluate-commands %sh{
# if height contains `%' then `-p' will be used
[ -n "${tmux_height%%*%}" ] && measure="-l" || measure="-p"
# `terminal' doesn't support any kind of width and height parameters, so tmux panes are created by tmux itself
cmd="nop %sh{ command tmux split-window -t '${kak_client_env_TMUX_PANE}' ${measure} ${tmux_height%%%*} '${fzfcmd}' }"
cmd="nop %sh{ command tmux split-window -t '${kak_client_env_TMUX_PANE}' ${measure} ${tmux_height%%%*} env ${fzfcmd} < /dev/null > /dev/null 2>&1 }"
else
cmd="${kak_opt_fzf_terminal_command%% *} %{${fzfcmd}}"
fi
Expand Down

0 comments on commit e862cb5

Please sign in to comment.