summaryrefslogtreecommitdiff
path: root/mac/.config/tmux/tmux.conf
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-09-11 17:28:34 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-09-11 17:28:34 +0900
commitfc3af8a3b3af5e3cd35c9c6b075e71e9ce43eb69 (patch)
tree140aa5e044dc46cbcf4c9b1ea5978dd1899e5608 /mac/.config/tmux/tmux.conf
parent53f239bf8067e4dda550d947e2a6b93de0c7dd65 (diff)
updates
Diffstat (limited to 'mac/.config/tmux/tmux.conf')
-rw-r--r--mac/.config/tmux/tmux.conf10
1 files changed, 6 insertions, 4 deletions
diff --git a/mac/.config/tmux/tmux.conf b/mac/.config/tmux/tmux.conf
index a220279..9de13f9 100644
--- a/mac/.config/tmux/tmux.conf
+++ b/mac/.config/tmux/tmux.conf
@@ -23,6 +23,8 @@ set -g renumber-windows on
set -g set-clipboard on
set -g xterm-keys on
set -gq allow-passthrough on
+set -ga update-environment TERM
+set -ga update-environment TERM_PROGRAM
set -sg escape-time 0
setw -g mode-keys vi
setw -g aggressive-resize on
@@ -102,17 +104,17 @@ bind -N "switch to root session (via sesh)" 9 run-shell 'sesh connect --root "$(
# session
bind -r '(' switch-client -p \; refresh-client -S
-bind -nr 'M-P' switch-client -p \; refresh-client -S
bind -r ')' switch-client -n \; refresh-client -S
-bind -nr 'M-N' switch-client -n \; refresh-client -S
+bind -nr 'M-<' switch-client -p \; refresh-client -S
+bind -nr 'M->' switch-client -n \; refresh-client -S
bind "'" switch-client -t'{marked}'
bind -r 'BSpace' switch-client -l
# window
bind -r '<' swap-window -d -t -1
bind -r '>' swap-window -d -t +1
-bind -nr 'M-p' previous-window \; refresh-client -S
-bind -nr 'M-n' next-window \; refresh-client -S
+bind -nr 'M-,' previous-window \; refresh-client -S
+bind -nr 'M-.' next-window \; refresh-client -S
bind 'c' new-window -c "#{pane_current_path}"
bind -nr 'M-BSpace' last-window