fix(keybind): rotate panes accidentally bound to ESC
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
# ~/.config/tmux/tmux.conf
|
# ~/.config/tmux/tmux.conf
|
||||||
|
|
||||||
# ┌
|
# ┌
|
||||||
# │ NOTE: $KITTY_LISTEN_ON is not being updated no matter
|
# │ NOTE: $KITTY_LISTEN_ON is not being updated no matter
|
||||||
# │ how I try
|
# │ how I try
|
||||||
# │ unless the server is killed and restarted.
|
# │ unless the server is killed and restarted.
|
||||||
# │ On macOS, I accidentally Cmd+Q often and therefore lose
|
# │ On macOS, I accidentally Cmd+Q often and therefore lose
|
||||||
# │ the socket
|
# │ the socket
|
||||||
# └
|
# └
|
||||||
set -g update-environment -r
|
set -g update-environment -r
|
||||||
setenv -g KITTY_LISTEN_ON $KITTY_LISTEN_ON
|
setenv -g KITTY_LISTEN_ON $KITTY_LISTEN_ON
|
||||||
set -ag update-environment '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
|
# window layout
|
||||||
bind-key -N "Cycle window layout" enter next-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
|
# Fullscreen current pane
|
||||||
bind-key -N "Zoom current pane (fill window)" -r m resize-pane -Z
|
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"
|
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
|
# use fzf to switch windows
|
||||||
unbind w
|
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
|
##### FZF settings
|
||||||
TMUX_FZF_SESSION_FORMAT="#{session_windows} windows"
|
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"\
|
"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"
|
"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'
|
||||||
Reference in New Issue
Block a user