Skip to content

Commit

Permalink
[fzf-tmux] Disable CTRL-Z
Browse files Browse the repository at this point in the history
  • Loading branch information
junegunn committed Jan 1, 2021
1 parent b234647 commit fd8858f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/fzf-tmux
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd8858f

Please sign in to comment.