2024-11-17 15:09:38 +00:00
|
|
|
|
|
|
|
#set -g default-terminal "tmux-256color"
|
|
|
|
#set -g default-terminal "screen-256color"
|
|
|
|
set -g default-terminal "xterm-256color"
|
2024-10-27 16:21:40 +00:00
|
|
|
set -ga terminal-overrides ",*256col*:Tc"
|
2024-11-17 15:09:38 +00:00
|
|
|
|
|
|
|
# set-option -g default-terminal screen-256color
|
|
|
|
|
2024-02-13 14:56:23 +00:00
|
|
|
# set -g terminal-overrides ",alacritty:Tc"
|
2024-01-21 16:50:08 +00:00
|
|
|
|
|
|
|
set-option -g status-position top
|
2024-02-02 09:39:57 +00:00
|
|
|
set -g status-justify centre
|
2024-01-28 20:17:39 +00:00
|
|
|
|
2025-04-06 15:37:42 +01:00
|
|
|
set -g window-status-current-style 'bg=#282828,fg=#ebdbb2'
|
2024-02-02 14:13:04 +00:00
|
|
|
|
2025-04-06 15:37:42 +01:00
|
|
|
set-option -g status-left " Session #S"
|
2024-02-02 14:13:04 +00:00
|
|
|
|
2025-04-06 15:37:42 +01:00
|
|
|
set -g status-right 'tmux '
|
2024-02-02 09:39:57 +00:00
|
|
|
set -g window-status-format " #I:#W "
|
|
|
|
set -g window-status-current-format " #I:#W "
|
|
|
|
|
2024-10-27 16:21:40 +00:00
|
|
|
# set -g status-style "bg=#473c29,fg=#ebdbb2"
|
2024-02-02 09:41:49 +00:00
|
|
|
|
2024-02-09 15:54:38 +00:00
|
|
|
# set -g status-bg colour8
|
|
|
|
# set -g status-fg colour7
|
2024-01-13 14:19:45 +00:00
|
|
|
# Split panes with \ and -
|
2025-04-06 15:37:42 +01:00
|
|
|
bind £ split-window -h -c "#{pane_current_path}"
|
2024-01-13 14:19:45 +00:00
|
|
|
bind - split-window -v -c "#{pane_current_path}"
|
2025-04-06 15:37:42 +01:00
|
|
|
|
|
|
|
|
2024-01-13 14:19:45 +00:00
|
|
|
# unbind \\
|
|
|
|
# unbind -
|
|
|
|
bind h select-pane -L
|
|
|
|
bind j select-pane -D
|
|
|
|
bind k select-pane -U
|
|
|
|
bind l select-pane -R
|
|
|
|
|
2024-10-27 16:21:40 +00:00
|
|
|
|
2025-04-06 15:37:42 +01:00
|
|
|
bind-key -r Up resize-pane -U 5
|
|
|
|
bind-key -r Down resize-pane -D 5
|
|
|
|
bind-key -r Left resize-pane -L 5
|
|
|
|
bind-key -r Right resize-pane -R 5
|
2024-01-21 16:50:08 +00:00
|
|
|
|
2024-03-01 16:34:15 +00:00
|
|
|
set -g mouse on
|
2024-01-21 16:50:08 +00:00
|
|
|
# remove delay for exiting insert mode with ESC in Neovim
|
|
|
|
set -sg escape-time 10
|
|
|
|
|
2024-02-18 21:38:12 +00:00
|
|
|
set -g @plugin 'tmux-plugins/tpm'
|
2024-02-26 19:12:31 +00:00
|
|
|
# set -g @plugin 'tmux-plugins/tmux-resurrect'
|
|
|
|
# set -g @plugin 'tmux-plugins/tmux-continuum'
|
|
|
|
# set -g @resurrect-capture-pane-contents 'on'
|
|
|
|
# set -g @continuum-restore 'on'
|
2024-02-18 21:38:12 +00:00
|
|
|
|
|
|
|
run '~/.tmux/plugins/tpm/tpm'
|
2024-01-21 16:50:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
|