67 lines
2.7 KiB
Bash
67 lines
2.7 KiB
Bash
### CONFIG
|
|
set -g status-right "#(hostname | cut -d. -f 1): #(uptime | awk -F 'averag[a-z]*: ' '{print $2}')"
|
|
set -g default-terminal "screen-256color"
|
|
#
|
|
### BINDS
|
|
|
|
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
|
|
|
|
### UNDBIND
|
|
unbind-key S
|
|
|
|
# --- colors (solarized dark)
|
|
# default statusbar colors
|
|
set -g status-bg black
|
|
set -g status-fg yellow
|
|
set -g status-attr default
|
|
|
|
# default window title colors
|
|
setw -g window-status-fg brightblue
|
|
setw -g window-status-bg default
|
|
|
|
# active window title colors
|
|
setw -g window-status-current-fg yellow
|
|
setw -g window-status-current-bg default
|
|
setw -g window-status-current-attr dim
|
|
|
|
# pane border
|
|
set -g pane-border-fg black
|
|
set -g pane-border-bg default
|
|
set -g pane-active-border-fg yellow
|
|
set -g pane-active-border-bg default
|
|
|
|
# command line/message text
|
|
set -g message-bg black
|
|
set -g message-fg yellow
|
|
|
|
# pane number display
|
|
set -g display-panes-active-colour yellow
|
|
set -g display-panes-colour brightblue
|
|
|
|
# clock
|
|
setw -g clock-mode-colour yellow
|
|
# --- end colors
|