2013-08-19 11:42:09 +02:00
|
|
|
### CONFIG
|
2013-12-23 22:45:43 +01:00
|
|
|
set -g default-terminal "screen-256color"
|
2016-01-18 15:39:28 +01:00
|
|
|
set -g base-index 1
|
|
|
|
set -g renumber-windows on
|
|
|
|
set -g set-titles on
|
2018-05-16 16:33:45 +02:00
|
|
|
set -g mouse off
|
2016-01-18 15:39:28 +01:00
|
|
|
setw -g aggressive-resize on
|
|
|
|
setw -g automatic-rename on
|
2013-08-19 11:42:09 +02:00
|
|
|
|
2016-01-18 15:39:28 +01:00
|
|
|
### UNDBIND
|
|
|
|
unbind-key S
|
|
|
|
### BINDS
|
|
|
|
#
|
2013-08-19 11:42:09 +02:00
|
|
|
set -g prefix C-a
|
|
|
|
bind a send-prefix
|
|
|
|
bind ^X lock-server
|
|
|
|
bind x lock-server
|
|
|
|
bind : command-prompt
|
|
|
|
bind ^C new-window
|
|
|
|
bind c new-window
|
|
|
|
bind ^N next-window
|
|
|
|
bind n next-window
|
|
|
|
bind ^P next-window
|
|
|
|
bind p next-window
|
|
|
|
bind ^[ copy-mode
|
|
|
|
bind [ copy-mode
|
|
|
|
bind ^D detach
|
|
|
|
bind d detach
|
|
|
|
bind " " next-window
|
|
|
|
bind w command-prompt "rename-window %%"
|
|
|
|
bind ^L choose-window
|
|
|
|
bind l choose-window
|
|
|
|
bind ^K kill-window
|
|
|
|
bind k kill-window
|
|
|
|
bind | split-window -h
|
|
|
|
bind - split-window -v
|
|
|
|
|
2016-01-18 15:39:28 +01:00
|
|
|
### COLORS
|
2020-02-05 16:46:19 +01:00
|
|
|
set -g status-justify "left"
|
|
|
|
set -g status "on"
|
|
|
|
set -g status-left-style "none"
|
2020-02-05 18:29:44 +01:00
|
|
|
set -g message-command-style "fg=colour231,bg=colour233"
|
2020-02-05 16:46:19 +01:00
|
|
|
set -g status-right-style "none"
|
2020-02-05 17:28:50 +01:00
|
|
|
set -g pane-active-border-style "fg=colour148"
|
2020-02-05 18:29:44 +01:00
|
|
|
set -g status-style "none,bg=colour233"
|
|
|
|
set -g message-style "fg=colour231,bg=colour233"
|
|
|
|
set -g pane-border-style "fg=colour233"
|
2020-02-05 16:46:19 +01:00
|
|
|
set -g status-right-length "100"
|
|
|
|
set -g status-left-length "100"
|
|
|
|
setw -g window-status-activity-style "none"
|
|
|
|
setw -g window-status-separator ""
|
2020-02-05 18:29:44 +01:00
|
|
|
setw -g window-status-style "none,fg=colour231,bg=colour233"
|
|
|
|
set -g status-left "#[fg=colour22,bg=colour148,bold] #S #[fg=colour148,bg=colour233,nobold,nounderscore,noitalics]"
|
|
|
|
set -g status-right "#[fg=colour235,bg=colour233,nobold,nounderscore,noitalics]#[fg=colour231,bg=colour235] #(uptime | awk -F'average.*: ' '{print $2}') #[fg=colour236,bg=colour235,nobold,nounderscore,noitalics]#[fg=colour252,bg=colour236] #h "
|
|
|
|
setw -g window-status-format "#[fg=colour231,bg=colour233] #I #[fg=colour231,bg=colour233] #W "
|
|
|
|
setw -g window-status-current-format "#[fg=colour233,bg=colour233,nobold,nounderscore,noitalics]#[fg=colour231,bg=colour233] #I #[fg=colour231,bg=colour233] #W #[fg=colour233,bg=colour233,nobold,nounderscore,noitalics]"
|