diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2021-01-01 22:43:36 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2021-01-01 22:43:36 +0900 |
commit | fd8858f8c93e38d50f00cd21430e21d89e2f9399 (patch) | |
tree | fba0b1115bdcd14e5660338b9da814aa2adbf1e7 /bin | |
parent | b234647a63faedf5461d1b106bbdbf58abe3476f (diff) |
[fzf-tmux] Disable CTRL-Z
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fzf-tmux | 4 |
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 |