2021-04-06 21:37:36 +00:00
|
|
|
set -g clock-mode-style 12
|
|
|
|
set -g default-command "${SHELL}"
|
2022-11-05 03:50:29 +00:00
|
|
|
set -g default-terminal "tmux-256color"
|
2022-11-06 08:58:53 +00:00
|
|
|
set -as terminal-features ",xterm-256color:RGB"
|
2023-03-20 05:14:45 +00:00
|
|
|
# curly underline support
|
|
|
|
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'
|
|
|
|
# underline colors - needs tmux-3.0
|
|
|
|
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'
|
2022-11-05 03:50:29 +00:00
|
|
|
set -g history-limit 10000
|
2020-09-28 06:45:49 +00:00
|
|
|
set -g prefix C-q
|
|
|
|
set -sg escape-time 25
|
2021-04-06 21:37:36 +00:00
|
|
|
set -wg mode-keys vi
|
|
|
|
set -wg mouse on
|
2020-09-28 06:45:49 +00:00
|
|
|
|
|
|
|
unbind Up
|
|
|
|
unbind Down
|
|
|
|
unbind Left
|
|
|
|
unbind Right
|
|
|
|
|
|
|
|
bind C-q send-prefix
|
|
|
|
bind S set status
|
2023-06-11 21:36:38 +00:00
|
|
|
bind R source-file ~/.tmux.conf \; display "Reloaded tmux config"
|
|
|
|
bind b setw synchronize-panes
|
|
|
|
bind a attach -c "#{pane_current_path}" \; \
|
|
|
|
display "New session working directory: #{pane_current_path}"
|
2020-09-28 06:45:49 +00:00
|
|
|
|
2022-05-15 03:12:46 +00:00
|
|
|
bind h split-window -h
|
|
|
|
bind v split-window -v
|
2020-09-28 06:45:49 +00:00
|
|
|
bind H split-window -f -h
|
|
|
|
bind V split-window -f -v
|
|
|
|
|
|
|
|
bind -r C-h select-pane -L
|
|
|
|
bind -r C-j select-pane -D
|
|
|
|
bind -r C-k select-pane -U
|
|
|
|
bind -r C-l select-pane -R
|
2022-05-15 03:12:46 +00:00
|
|
|
|
|
|
|
bind -r Left swap-window -dt -1
|
|
|
|
bind -r Right swap-window -dt +1
|