Update tmux config

main
Buddy Sandidge 2 years ago
parent 1af3b76729
commit bd00a2b8b9

@ -6,16 +6,19 @@ set -g prefix C-a
unbind C-b unbind C-b
# More responsive with sending commands # More responsive with sending commands
set -sg escape-time 1 set -sg escape-time 0
set-option -g history-limit 500000 set-option -g history-limit 500000
# Start counting at 0, easier for keyboard shortcuts # Start counting at 0, easier for keyboard shortcuts
set -g base-index 1 set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1 set-window-option -g pane-base-index 1
set-option -g renumber-windows on
# Status # Status
set -g status-interval 20 set -g status-interval 5
set -g status-keys emacs
set -g status-justify centre set -g status-justify centre
set -g status-left "#[fg=colour75]#S:#I.#P" set -g status-left "#[fg=colour75]#S:#I.#P"
@ -45,13 +48,14 @@ unbind p
bind p paste-buffer bind p paste-buffer
bind-key -T copy-mode-vi 'v' send -X begin-selection bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection bind-key -T copy-mode-vi 'y' send -X copy-selection
bind-key -T copy-mode-vi 'q' send -X rectangle-toggle
# Make switch session shortcut repeatable # Make switch session shortcut repeatable
bind -r ( switch-client -p bind -r ( switch-client -p
bind -r ) switch-client -n bind -r ) switch-client -n
# Reload config with prefix r # Reload config with prefix r
bind r source-file $HOME/.tmux.conf \; display "Reloaded" bind r source-file $XDG_CONFIG_HOME/tmux/tmux.conf \; display "Reloaded"
# Send prefix to the terminal # Send prefix to the terminal
bind C-a send-prefix bind C-a send-prefix
@ -65,6 +69,7 @@ bind -r C-l select-window -t :+
set-environment -g TMUX_PLUGIN_MANAGER_PATH $XDG_DATA_HOME/tmux/plugins set-environment -g TMUX_PLUGIN_MANAGER_PATH $XDG_DATA_HOME/tmux/plugins
set -g @plugin 'tmux-plugins/tmux'
set -g @plugin 'tmux-plugins/tmux-copycat' set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-open' set -g @plugin 'tmux-plugins/tmux-open'
set -g @plugin 'tmux-plugins/tmux-pain-control' set -g @plugin 'tmux-plugins/tmux-pain-control'

Loading…
Cancel
Save