diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 8940caa..7151081 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -1,24 +1,25 @@ -set -s escape-time 0 -set -s copy-command 'wl-copy' -set -g history-limit 10000 +set -g base-index 1 set -g default-terminal 'screen-256color' +set -s escape-time 0 +set -g history-limit 10000 set -g mouse on -set -g set-titles on +set -g pane-active-border-style fg=cyan set -g renumber-windows on +set -g set-titles on set -g status-interval 10 set -g status-right "#(whoami)@#(hostname) | #(cut -f1 -d \" \" < /proc/loadavg) | %H:%M " -set -g base-index 1 -setw -g pane-base-index 1 +set -g status-style fg=black,bg=cyan setw -g mode-keys vi +setw -g pane-base-index 1 unbind C-b set -g prefix C-x bind C-x send-prefix -bind S set synchronize-panes - -bind-key -T copy-mode-vi v send -X begin-selection -bind-key -T copy-mode-vi y send -X copy-selection +unbind -T copy-mode-vi v +bind -T copy-mode-vi v send -X begin-selection +bind -T copy-mode-vi 'C-v' send -X rectangle-toggle +bind -T copy-mode-vi y send -X copy-pipe-and-cancel "wl-copy" bind h select-pane -L bind j select-pane -D @@ -29,6 +30,3 @@ bind -r C-h resize-pane -L 5 bind -r C-j resize-pane -D 5 bind -r C-k resize-pane -U 5 bind -r C-l resize-pane -R 5 - -set -g status-style fg=black,bg=cyan -set -g pane-active-border-style fg=cyan