Improve latency when creating tmux windows #77
This commit is contained in:
parent
f697b7d11e
commit
e862cb5b78
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue