From fd8858f8c93e38d50f00cd21430e21d89e2f9399 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 1 Jan 2021 22:43:36 +0900 Subject: [PATCH] [fzf-tmux] Disable CTRL-Z --- bin/fzf-tmux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/fzf-tmux b/bin/fzf-tmux index 080f936..9d59994 100755 --- a/bin/fzf-tmux +++ b/bin/fzf-tmux @@ -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