78 lines
2.3 KiB
Bash
78 lines
2.3 KiB
Bash
set -a terminal-features "tmux-256color:RGB"
|
|
# set -g prefix C-Space
|
|
# set -g prefix2 C-b
|
|
# set -g base-index 1
|
|
# setw -g mode-keys vi
|
|
# set -g status-position top
|
|
# set -g status-justify absolute-centre
|
|
# set -g window-status-current-style "bold"
|
|
# set -g status-right ""
|
|
# set -g status-left "#S"
|
|
# set -g mouse on
|
|
# set-option -g history-limit 10000
|
|
|
|
# bind C-Space send-prefix
|
|
# bind C-b send-prefix
|
|
# bind r source-file ~/.config/tmux/tmux.conf \; display-message "Tmux config reloaded."
|
|
|
|
# tmux — Rose Pine Moon (softer dark)
|
|
# Same as Rose Pine but with @rose_pine_variant "moon"
|
|
|
|
set -g prefix C-Space
|
|
unbind C-b
|
|
|
|
set-environment -g TMUX_PLUGIN_MANAGER_PATH /Users/rubenhesselink/.config/tmux/plugins
|
|
|
|
set -g @rose_pine_variant "moon"
|
|
set -g @rose_pine_window_status_style "rounded"
|
|
set -g @rose_pine_date_time "#(date '+%a %d %b %H:%M')"
|
|
set -g @rose_pine_directory "on"
|
|
|
|
set -g status-position top
|
|
set -g status-justify absolute-centre
|
|
set -g status-left-length 40
|
|
set -g status-right-length 80
|
|
set -g visual-bell off
|
|
set -g set-titles off
|
|
|
|
set -g base-index 1
|
|
set -g pane-base-index 1
|
|
setw -g pane-base-index 1
|
|
set -g renumber-windows on
|
|
setw -g mode-keys vi
|
|
|
|
bind -n M-h select-pane -L
|
|
bind -n M-j select-pane -D
|
|
bind -n M-k select-pane -U
|
|
bind -n M-l select-pane -R
|
|
bind -n M-S-h previous-window
|
|
bind -n M-S-l next-window
|
|
bind -n M-Left resize-pane -L 5
|
|
bind -n M-Right resize-pane -R 5
|
|
bind -n M-Down resize-pane -D 3
|
|
bind -n M-Up resize-pane -U 3
|
|
|
|
bind \\ split-window -h -c "#{pane_current_path}"
|
|
bind - split-window -v -c "#{pane_current_path}"
|
|
|
|
bind r source-file ~/.config/tmux/tmux.conf \; display "Config reloaded!"
|
|
|
|
set -g mouse on
|
|
set -g history-limit 50000
|
|
set -sg escape-time 10
|
|
set -g focus-events on
|
|
set -ga terminal-overrides ",*256col*:Tc"
|
|
set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q'
|
|
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'rose-pine/tmux'
|
|
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
|
set -g @plugin 'tmux-plugins/tmux-continuum'
|
|
|
|
set -g @continuum-restore 'on'
|
|
set -g @continuum-save-interval '15'
|
|
|
|
if "test ! -d /Users/rubenhesselink/.config/tmux/plugins/tpm" \
|
|
"run 'git clone https://github.com/tmux-plugins/tpm /Users/rubenhesselink/.config/tmux/plugins/tpm && /Users/rubenhesselink/.config/tmux/plugins/tpm/bin/install_plugins'"
|
|
|
|
run '/Users/rubenhesselink/.config/tmux/plugins/tpm/tpm'
|