Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #delay
- set -sg escape-time 0
- # change prefix to Ctrl-a (like in gnu-screen)
- unbind C-b
- set-option -g prefix C-a
- bind-key C-a send-prefix
- # start with window 1 (instead of 0)
- set -g base-index 1
- # start with pane 1
- set -g pane-base-index 1
- # source config file
- bind r source-file ~/.tmux.conf
- # allow terminal scrolling
- set-option -g terminal-overrides 'xterm*:smcup@:rmcup@'
- # to make ctrl + arrows, etc work
- set-window-option -g xterm-keys on
- # splitting
- unbind %
- bind h split-window -v
- unbind '"'
- bind v split-window -h
- bind x kill-pane
- # panes
- set -g pane-border-fg black
- set -g pane-active-border-fg black
- # Keybindings for layouts; M is alt
- bind-key M-1 select-layout even-horizontal
- bind-key M-2 select-layout even-vertical
- bind-key M-3 select-layout main-horizontal
- bind-key M-4 select-layout main-vertical
- bind-key M-5 select-layout tiled
- # status line
- set -g status-utf8 on
- set -g status-justify left
- set -g status-bg default
- set -g status-fg blue
- set -g status-interval 4
- # messaging
- set -g message-attr bold
- set -g message-fg white
- set -g message-bg red
- set -g message-command-fg blue
- set -g message-command-bg black
- # window status
- if '[ -z "$DISPLAY" ]' 'setw -g window-status-format " #F#I:#W "'
- if '[ -z "$DISPLAY" ]' 'setw -g window-status-current-format " #F#I:#W "'
- setw -g window-status-format "#[fg=darkblue]#[bg=default] #I #[bg=default]#[fg=darkblue] #W "
- setw -g window-status-current-format "#[fg=blue]#[bg=default] #I #[fg=blue]#[bg=default] #W "
- setw -g window-status-current-bg default
- setw -g window-status-current-fg default
- setw -g window-status-current-attr bold
- setw -g window-status-bg default
- setw -g window-status-fg default
- setw -g window-status-attr dim
- setw -g window-status-content-bg black
- setw -g window-status-content-fg black
- setw -g window-status-content-attr bold
- set -g status-justify centre
- # Info on left (no session display)
- set -g status-left ''
- # Info on right
- set -g status-right-attr bold
- set -g status-right ''
- #set -g status-right '#[fg=brightyellow]Vol: #(sh ~/Scripts/tmux/volume) #[fg=brightgreen]%a %H:%M '
- set -g status-right-length 60
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement