summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2021-01-01 22:43:36 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2021-01-01 22:43:36 +0900
commitfd8858f8c93e38d50f00cd21430e21d89e2f9399 (patch)
treefba0b1115bdcd14e5660338b9da814aa2adbf1e7 /bin
parentb234647a63faedf5461d1b106bbdbf58abe3476f (diff)
[fzf-tmux] Disable CTRL-Z
Diffstat (limited to 'bin')
-rwxr-xr-xbin/fzf-tmux4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/fzf-tmux b/bin/fzf-tmux
index 080f936d..9d599947 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