fix(keybind): rotate panes accidentally bound to ESC

This commit is contained in:
2024-12-18 10:43:51 -05:00
parent c2f856edab
commit 4d1de71604
+9 -9
View File
@@ -1,12 +1,12 @@
# ~/.config/tmux/tmux.conf
# ┌
# │ NOTE: $KITTY_LISTEN_ON is not being updated no matter
# │ how I try
# │ unless the server is killed and restarted.
# │ On macOS, I accidentally Cmd+Q often and therefore lose
# │ the socket
# └
# │ NOTE: $KITTY_LISTEN_ON is not being updated no matter
# │ how I try
# │ unless the server is killed and restarted.
# │ On macOS, I accidentally Cmd+Q often and therefore lose
# │ the socket
# └
set -g update-environment -r
setenv -g KITTY_LISTEN_ON $KITTY_LISTEN_ON
set -ag update-environment 'KITTY_LISTEN_ON'
@@ -80,7 +80,7 @@ bind-key -N "Resize pane right" -r l resize-pane -R 5
# window layout
bind-key -N "Cycle window layout" enter next-layout
bind-key -N "Rotate panes clockwise around window" -n C-[ rotate-window
bind-key -N "Rotate panes clockwise around window" -r 'M-\' rotate-window
# Fullscreen current pane
bind-key -N "Zoom current pane (fill window)" -r m resize-pane -Z
@@ -152,7 +152,7 @@ unbind s
bind-key -N "Attach to another session" s run-shell -b "$HOME/.config/tmux/plugins/tmux-fzf/scripts/session.sh switch"
# use fzf to switch windows
unbind w
bind-key -N "Switch to another window (works across any session)" w run-shell -b "$HOME/.config/tmux/plugins/tmux-fzf/scripts/window.sh switch"
bind-key -N "Switch to another window (works across any session)" w run-shell -b "$HOME/.config/tmux/plugins/tmux-fzf/scripts/window.sh switch"
##### FZF settings
TMUX_FZF_SESSION_FORMAT="#{session_windows} windows"
@@ -170,4 +170,4 @@ TMUX_FZF_MENU=\
"window options\n$HOME/.config/tmux/plugins/tmux-fzf/scripts/window.sh\n"\
"pane options\n$HOME/.config/tmux/plugins/tmux-fzf/scripts/pane.sh\n"
run '~/.config/tmux/plugins/tpm/tpm'
run '~/.config/tmux/plugins/tpm/tpm'