Last active
August 29, 2015 14:10
-
-
Save ebot/ce9d2dd503243ac26b4e to your computer and use it in GitHub Desktop.
My tmux configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reload the tmux session with an updated config: | |
# tmux source-file ~/.tmux.conf | |
# make tmux display things in 256 colors | |
set -g default-terminal "screen-256color" | |
# bind vim keys to resize panes | |
bind-key -r j resize-pane -D 5 | |
bind-key -r k resize-pane -U 5 | |
bind-key -r h resize-pane -L 5 | |
bind-key -r l resize-pane -R 5 | |
# bind the caret to a horizontal split | |
# and set splits to default to the current path | |
bind-key -r ^ split-window -c "#{pane_current_path}" | |
bind-key % split-window -h -c "#{pane_current_path}" | |
# set the status bar to show the host | battery | date | |
# https://github.com/Goles/Battery | |
set -g status-right "#h | #(/usr/bin/battery -t) | %Y-%m-%d %R" | |
#### COLOUR (Solarized 256) | |
# https://github.com/altercation/solarized/tree/master/tmux | |
# default statusbar colors | |
set-option -g status-bg colour235 #base02 | |
set-option -g status-fg colour136 #yellow | |
set-option -g status-attr default | |
# default window title colors | |
set-window-option -g window-status-fg colour244 #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 colour166 #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 colour235 #base02 | |
set-option -g pane-active-border-fg colour240 #base01 | |
# message text | |
set-option -g message-bg colour235 #base02 | |
set-option -g message-fg colour166 #orange | |
# pane number display | |
set-option -g display-panes-active-colour colour33 #blue | |
set-option -g display-panes-colour colour166 #orange | |
# clock | |
set-window-option -g clock-mode-colour colour64 #green |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment