61 lines
1.5 KiB
Bash
61 lines
1.5 KiB
Bash
### display
|
|
|
|
set utf8 on
|
|
set status-utf8 on
|
|
|
|
|
|
#### COLOUR (Solarized dark)
|
|
set -g default-terminal "xterm-256color"
|
|
|
|
# default statusbar colors
|
|
set status-style "bg=black"
|
|
set-option -g status-bg black #base02
|
|
set-option -g status-fg yellow #yellow
|
|
set-option -g status-attr default
|
|
|
|
# default window title colors
|
|
set-window-option -g window-status-fg brightblue #base0
|
|
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 black #base02
|
|
set-option -g pane-active-border-fg green #base01
|
|
|
|
# message text
|
|
set-option -g message-bg black #base02
|
|
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
|
|
|
|
# bell
|
|
set-window-option -g window-status-bell-style fg=black,bg=red #base02, red
|
|
|
|
## KEY BINDING
|
|
|
|
## Allow Ctrl-left/Right for shell
|
|
set-window-option -g xterm-keys on
|
|
|
|
## Alt-Left / Alt-Right to move between windows
|
|
bind-key -n M-Left previous-window
|
|
bind-key -n M-Right next-window
|
|
|
|
## Use C-a instead of C-b
|
|
# unbind C-b
|
|
# set -g prefix C-a
|
|
# bind C-a send-prefix
|
|
|
|
## Use C-b r to reload configuration
|
|
unbind r
|
|
bind r source-file ~/.tmux.conf
|
|
|