diff options
Diffstat (limited to 'mac/.config/tmux/tmux.conf')
| -rw-r--r-- | mac/.config/tmux/tmux.conf | 10 |
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 |
