72 lines
1.9 KiB
Text
72 lines
1.9 KiB
Text
|
# GNU Screen prefix
|
||
|
unbind C-b
|
||
|
set -g prefix C-a
|
||
|
|
||
|
# Open new-window in PWD
|
||
|
#bind c new-window -c "#{pane_current_path}"
|
||
|
|
||
|
# Vi shortcut for copying (frees shortcut for emacs)
|
||
|
set-window-option -g mode-keys vi
|
||
|
set-window-option -g xterm-keys on
|
||
|
|
||
|
# Last window
|
||
|
#bind-key C-a last-window
|
||
|
|
||
|
# List of plugins
|
||
|
set -g @plugin 'tmux-plugins/tpm'
|
||
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||
|
set -g @plugin 'tmux-plugins/tmux-sidebar'
|
||
|
set -g @plugin 'tmux-plugins/tmux-copycat'
|
||
|
set -g @plugin 'tmux-plugins/tmux-pain-control'
|
||
|
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||
|
|
||
|
# Configuration for tmux-resurrect
|
||
|
set -g @resurrect-processes 'mutt journalctl emacs'
|
||
|
set -g @resurrect-strategy-vim 'session'
|
||
|
|
||
|
# statusbar --------------------------------------------------------------
|
||
|
set -g display-time 2000
|
||
|
|
||
|
# allow mouse mode
|
||
|
set -g mouse-utf8 on
|
||
|
set -g mouse on
|
||
|
|
||
|
# center align the window list
|
||
|
set -g status-justify centre
|
||
|
set -g status-right "("
|
||
|
set -g status-left ")"
|
||
|
|
||
|
#### COLOUR (Solarized light)
|
||
|
# default statusbar colors
|
||
|
set-option -g status-bg white #base2
|
||
|
set-option -g status-fg yellow #yellow
|
||
|
set-option -g status-attr default
|
||
|
|
||
|
# default window title colors
|
||
|
set-window-option -g window-status-fg brightyellow #base00
|
||
|
set-window-option -g window-status-bg default
|
||
|
#set-window-option -g window-status-attr dim
|
||
|
|
||
|
# active window title colors
|
||
|
set-window-option -g window-status-current-fg brightred #orange
|
||
|
set-window-option -g window-status-current-bg default
|
||
|
#set-window-option -g window-status-current-attr bright
|
||
|
|
||
|
# pane border
|
||
|
set-option -g pane-border-fg white #base2
|
||
|
set-option -g pane-active-border-fg brightcyan #base1
|
||
|
|
||
|
# message text
|
||
|
set-option -g message-bg white #base2
|
||
|
set-option -g message-fg brightred #orange
|
||
|
|
||
|
# pane number display
|
||
|
set-option -g display-panes-active-colour blue #blue
|
||
|
set-option -g display-panes-colour brightred #orange
|
||
|
|
||
|
# clock
|
||
|
set-window-option -g clock-mode-colour green #green
|
||
|
|
||
|
# Initialize TMUX plugin manager
|
||
|
run '~/.tmux/plugins/tpm/tpm'
|