2024-01-28 20:17:09 +00:00
|
|
|
set -g default-terminal "screen-256color"
|
2024-02-02 09:39:57 +00:00
|
|
|
#set -ga terminal-overrides ",*256col*:Tc"
|
2024-01-28 20:17:09 +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
|
|
|
|
2024-02-02 14:13:04 +00:00
|
|
|
set -g window-status-current-style 'bg=colour2,fg=colour16'
|
|
|
|
|
|
|
|
set-option -g status-left " Session #S "
|
|
|
|
|
2024-02-02 09:39:57 +00:00
|
|
|
set -g status-right 'tmux '
|
|
|
|
set -g window-status-format " #I:#W "
|
|
|
|
set -g window-status-current-format " #I:#W "
|
|
|
|
|
2024-02-02 09:41:49 +00:00
|
|
|
|
2024-02-02 09:39:57 +00:00
|
|
|
set -g status-bg colour8
|
|
|
|
set -g status-fg colour7
|
2024-01-13 14:19:45 +00:00
|
|
|
# Split panes with \ and -
|
|
|
|
bind \\ split-window -h -c "#{pane_current_path}"
|
|
|
|
bind - split-window -v -c "#{pane_current_path}"
|
|
|
|
# unbind \\
|
|
|
|
# unbind -
|
|
|
|
bind h select-pane -L
|
|
|
|
bind j select-pane -D
|
|
|
|
bind k select-pane -U
|
|
|
|
bind l select-pane -R
|
|
|
|
|
2024-01-21 16:50:08 +00:00
|
|
|
bind-key -r C-Up resize-pane -U 5
|
|
|
|
bind-key -r C-Down resize-pane -D 5
|
|
|
|
bind-key -r C-Left resize-pane -L 5
|
|
|
|
bind-key -r C-Right resize-pane -R 5
|
|
|
|
|
|
|
|
# remove delay for exiting insert mode with ESC in Neovim
|
|
|
|
set -sg escape-time 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|