diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 16185e9..2f3fc73 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -1,3 +1,5 @@ +# TMUX_COLORTAG_ROUNDED_POWERLINE=yes +set-environment -g TMUX_POWERLINE_THEME bubble # Options set -g mouse on set -g default-terminal "screen-256color" @@ -6,19 +8,47 @@ set-window-option -g mode-keys vi set -g status-position top set-option -g set-clipboard on set -g @yank_action "copy-pipe" +set -g @yank_clipboard 'osc52' +set -g base-index 1 +setw -g pane-base-index 1 + # Keybinds set-option -g prefix C-\\ unbind C-b bind C-\\ send-prefix bind r source-file ~/.tmux.conf - +# alt for nav between panes +bind v split-window -h -c "#{pane_current_path}" +bind b split-window -v -c "#{pane_current_path}" +bind c new-window -c "#{pane_current_path}" +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-1 select-window -t 1 +bind -n M-2 select-window -t 2 +bind -n M-3 select-window -t 3 +bind -n M-4 select-window -t 4 +bind -n M-5 select-window -t 5 +bind -n M-6 select-window -t 6 +bind -n M-7 select-window -t 7 +bind -n M-8 select-window -t 8 +bind -n M-9 select-window -t 9 # Plugins set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-yank' - +# set -g @plugin 'Determinant/tmux-colortag' +# set -g @plugin 'erikw/tmux-powerline' +set -g @plugin 'rose-pine/tmux' +set -g @rose_pine_variant 'main' +set -g @rose_pine_left_separator ' > ' # The strings to use as separators are 1-space padded +set -g @rose_pine_right_separator '  ' # Accepts both normal chars & nerdfont icons +set -g @rose_pine_field_separator ' | ' # Again, 1-space padding, it updates with prefix + I +set -g @rose_pine_window_separator ':' # Replaces the default `:` between the window number and name +set -g @rose_pine_window_status_separator "  " run '~/.tmux/plugins/tpm/tpm'