Created
August 15, 2013 19:48
-
-
Save xonecas/6244153 to your computer and use it in GitHub Desktop.
This file contains 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
# Start indices on correct side of keyboard | |
set-option -g base-index 1 | |
# Easier splits | |
unbind-key '"' | |
unbind-key % | |
bind-key | split-window -h | |
bind-key _ split-window -v | |
# Resize and navigate splits | |
unbind-key H | |
unbind-key L | |
unbind-key J | |
unbind-key K | |
bind-key -r H resize-pane -L 5 | |
bind-key -r L resize-pane -R 5 | |
bind-key -r J resize-pane -D 10 | |
bind-key -r K resize-pane -U 10 | |
unbind-key h | |
unbind-key l | |
unbind-key j | |
unbind-key k | |
bind-key h select-pane -L | |
bind-key l select-pane -R | |
bind-key j select-pane -D | |
bind-key k select-pane -U | |
# Prefer unicode chars | |
set-option -g status-utf8 on | |
set-option -ga terminal-overrides ',*:enacs@:smacs@:rmacs@:acsc@' | |
# Trick the term to think we are actually an working 256 color screen | |
set -g default-terminal "screen-256color" | |
#### COLORS (originally based on solarized) | |
# 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 | |
#### RELOAD CONFIG | |
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment