1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-07-28 10:42:00 -07:00

[fzf-tmux] Disable CTRL-Z

This commit is contained in:
Junegunn Choi
2021-01-01 22:43:36 +09:00
parent b234647a63
commit fd8858f8c9

@@ -135,8 +135,8 @@ if [[ -z "$TMUX" ]]; then
exit $?
fi
# --height option is not allowed
args=("${args[@]}" "--no-height")
# --height option is not allowed. CTRL-Z is also disabled.
args=("${args[@]}" "--no-height" "--bind=ctrl-z:ignore")
# Handle zoomed tmux pane without popup options by moving it to a temp window
if [[ ! "$opt" =~ "-K -E" ]] && tmux list-panes -F '#F' | grep -q Z; then