[fzf-tmux] Disable CTRL-Z

This commit is contained in:
Junegunn Choi 2021-01-01 22:43:36 +09:00
parent b234647a63
commit fd8858f8c9
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -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