Fixing config for newer tmux versions
This commit is contained in:
parent
5c457f7afa
commit
d058729c83
|
@ -1,45 +1,43 @@
|
|||
set -g default-terminal "tmux-256color"
|
||||
|
||||
set-option -g assume-paste-time 1
|
||||
set-option -g base-index 1
|
||||
set-option -g pane-base-index 1
|
||||
set-option -g default-command ""
|
||||
set-option -g default-shell "/bin/bash"
|
||||
set-option -g destroy-unattached off
|
||||
set-option -g detach-on-destroy on
|
||||
set-option -g display-panes-active-colour red
|
||||
set-option -g display-panes-colour blue
|
||||
set-option -g display-panes-time 1000
|
||||
set-option -g display-time 750
|
||||
set-option -g history-limit 10000
|
||||
set-option -g word-separators " -_@"
|
||||
set-option -g renumber-windows off
|
||||
set-option -g repeat-time 500
|
||||
set-option -g set-remain-on-exit off
|
||||
set-option -g set-titles off
|
||||
set-option -g set-titles-string "#S:#I:#W - "#T" #{session_alerts}"
|
||||
set-option -g status off
|
||||
set -g assume-paste-time 1
|
||||
set -g base-index 1
|
||||
set -g pane-base-index 1
|
||||
set -g default-command ""
|
||||
set -g default-shell "/bin/bash"
|
||||
set -g destroy-unattached off
|
||||
set -g detach-on-destroy on
|
||||
set -g display-panes-active-colour red
|
||||
set -g display-panes-colour blue
|
||||
set -g display-panes-time 1000
|
||||
set -g display-time 750
|
||||
set -g history-limit 10000
|
||||
set -g word-separators " -_@"
|
||||
set -g renumber-windows off
|
||||
set -g repeat-time 500
|
||||
set -g set-titles off
|
||||
set -g set-titles-string "#S:#I:#W - "#T" #{session_alerts}"
|
||||
set -g status off
|
||||
|
||||
# Change prefix to C-a
|
||||
set-option -g prefix C-a
|
||||
set -g prefix C-a
|
||||
|
||||
#set-option -g status-style fg=black,bg=cyan
|
||||
set-option -g message-command-style fg=green,bg=black
|
||||
set-option -g message-style fg=white,bg=red
|
||||
set-option -g update-environment "DISPLAY SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
|
||||
set -g message-command-style fg=green,bg=black
|
||||
set -g message-style fg=white,bg=red
|
||||
set -g update-environment "DISPLAY SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
|
||||
|
||||
# Set audible bell on, and visual bell off because it is slooooowwwww
|
||||
set-option -g bell-action any
|
||||
set-option -g bell-on-alert on
|
||||
set-option -g visual-bell off
|
||||
set-option -g visual-silence off
|
||||
set-option -g visual-activity off
|
||||
set -g bell-action any
|
||||
set -g visual-bell off
|
||||
set -g visual-silence off
|
||||
set -g visual-activity off
|
||||
|
||||
# Pane active colors
|
||||
set-option -g pane-active-border-style fg=cyan,bright
|
||||
set -g pane-active-border-style fg=cyan,bright
|
||||
|
||||
# Pane inactive colors
|
||||
set-option -g pane-border-style fg=colour8
|
||||
set -g pane-border-style fg=colour8
|
||||
|
||||
# Use C-a,Shift-R to reload configuration
|
||||
bind R source-file ~/.tmux.conf \; display-message "Config reloaded..."
|
||||
|
@ -60,12 +58,3 @@ bind -n M-j select-pane -D
|
|||
|
||||
# No delay for escape key press
|
||||
set -sg escape-time 0
|
||||
|
||||
# Various copy mode tweaks
|
||||
bind-key -t vi-copy Home start-of-line
|
||||
bind-key -t vi-copy End end-of-line
|
||||
# Sync copy mode and PRIMARY selection
|
||||
bind-key -t vi-copy MouseDragEnd1Pane copy-pipe "xsel -i -p -b"
|
||||
bind-key -t vi-copy Enter copy-pipe "xsel -i -p -b"
|
||||
bind-key -t vi-copy y copy-pipe "xsel -i -p -b"
|
||||
|
||||
|
|
Loading…
Reference in New Issue