Skip to content

Instantly share code, notes, and snippets.

@tskrynnyk
Last active December 23, 2015 05:29
Show Gist options
  • Select an option

  • Save tskrynnyk/6587675 to your computer and use it in GitHub Desktop.

Select an option

Save tskrynnyk/6587675 to your computer and use it in GitHub Desktop.
# .tmux.conf
#
#setenv -g lightcolor "white"
#setenv -g darkcolor "blue"
set-option -g default-terminal "screen-256color"
set-option -g base-index 1
# Status bar
set-option -g status-interval 5
set-option -g status-left ' '
#set-option -g status-right-length 64
#set-option -g status-right ' #H:#S '
set-option -g status-right ' #H:#S | %d/%m %H:%M '
#set-option -g status-right ' #H:#S | #(cut -d " " -f 1-4 /proc/loadavg) | %d/%m %H:%M '
# Window notifications
set-window-option -g monitor-activity on
set-window-option -g visual-activity on
# Mouse
set-option -g mouse-utf8 on
set-option -g mouse-select-pane on
set-option -g mouse-select-window on
set-option -g mouse-resize-pane on
set-window-option -g mode-mouse on
#
set-option -g set-titles on
set-option -g set-titles-string '#T:#I-#W'
#set-option -g terminal-overrides 'xterm*:smcup@:rmcup@'
#
bind C-r source-file ~/.tmux.conf\; display " Reloaded!"
bind @ command-prompt -p "join pane:" "join-pane -s ':%%'"
bind C-@ command-prompt -p "break pane:" "break-pane -t ':%%'"
# Set the esc/alt disambiguation timeout to 50ms.
set-option -sg escape-time 50
# Clock
set-window-option -g clock-mode-style 24
#set-option -g lock-after-time 3600
# amount of time for which status line messages and other indicators
# are displayed. time is in milliseconds.
set-option -g display-time 2000
# ------------------------------------------------------------------------------
# Colors
# default statusbar colors
set-option -g status-bg blue
set-option -g status-fg white
#set-option -g status-attr dim
#set-option -g status-attr bright
#set-option -g status-attr underscore
set-option -g status-attr default
# default window title colors
set-window-option -g window-status-fg black
set-window-option -g window-status-bg default
set-window-option -g window-status-attr default
# active window title colors
set-window-option -g window-status-current-fg blue
set-window-option -g window-status-current-bg white
set-window-option -g window-status-current-attr default
# activity
set-window-option -g window-status-activity-bg default
set-window-option -g window-status-activity-fg white
set-window-option -g window-status-activity-attr dim
# message text
set-option -g message-bg white
set-option -g message-fg black
# command
set-option -g message-command-fg white
set-option -g message-command-bg black
# pane border
set-option -g pane-active-border-fg white
set-option -g pane-active-border-bg blue
# pane number display
set-option -g display-panes-active-colour white
set-option -g display-panes-colour blue
# clock
set-window-option -g clock-mode-colour white
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment