Created
April 19, 2018 16:48
-
-
Save johangithub/eb814928c2cac368e47d2142112b1c43 to your computer and use it in GitHub Desktop.
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
# remap prefix from 'C-b' to ` | |
unbind C-b | |
set-option -g prefix ` | |
bind-key ` send-prefix | |
#Set base to 1 instead of 0 | |
set -g base-index 1 | |
# Automatically set window title | |
set-window-option -g automatic-rename on | |
set-option -g set-titles on | |
set -g default-terminal screen-256color | |
set -g status-keys vi | |
set -g history-limit 10000 | |
# Shift arrow to switch windows | |
bind -n S-Left previous-window | |
bind -n S-Right next-window | |
# vim-like creation of vertical/horizontal windows | |
bind v split-window -h | |
bind s split-window -v | |
# No delay for escape key press | |
set -sg escape-time 0 | |
#### COLOUR (Solarized 256) | |
# 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 | |
# bell | |
set-window-option -g window-status-bell-style fg=colour235,bg=colour160 #base02, red | |
# Reload tmux config | |
bind r source-file ~/.tmux.conf | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment