Created
October 29, 2013 18:59
-
-
Save adamrights/7220584 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
# Bind to development layout script | |
bind D source-file $HOME/script/tmux.dev | |
# Split Pane and run Vim | |
bind V source-file ~/scripts/tmux.vim | |
## improve colors | |
set -g default-terminal "screen-256color" | |
# notify activity on output from hidden windows | |
setw -g monitor-activity on | |
set -g visual-activity on | |
# act like vim | |
setw -g mode-keys vi | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
bind-key -r C-h select-window -t :- | |
bind-key -r C-l select-window -t :+ | |
# act like GNU screen | |
unbind C-b | |
set -g prefix C-a | |
# start window numbers at 1 to match keyboard order with tmux window order | |
set -g base-index 1 | |
# renumber windows sequentially after closing any of them | |
set -g renumber-windows on | |
# soften status bar color from harsh green to light gray | |
set -g status-bg '#666666' | |
set -g status-fg '#aaaaaa' | |
#highlight current window | |
set-window-option -g window-status-current-bg magenta | |
# remove administrative debris (session name, hostname, time) in status bar | |
set -g status-left '' | |
set -g status-right '' | |
# increase scrollback lines | |
set -g history-limit 30000 | |
# switch to last pane | |
bind-key C-a last-pane | |
#### 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 | |
# color scheme (styled as vim-powerline) | |
#set -g status-left-length 52 | |
#set -g status-right-length 451 | |
#set -g status-fg white | |
#set -g status-bg colour234 | |
#set -g pane-border-fg colour245 | |
#set -g pane-active-border-fg colour39 | |
#set -g message-fg colour16 | |
#set -g message-bg colour221 | |
#set -g message-attr bold | |
#set -g status-left '#[fg=colour235,bg=colour252,bold] #S #[fg=colour252,bg=colour238,nobold]#[fg=colour245,bg=colour238,bold] #(whoami) #[fg=colour238,bg=colour234,nobold]' | |
#set -g window-status-format "#[fg=colour235,bg=colour252,bold] #I #W " | |
##set -g window-status-current-format "#[fg=colour234,bg=colour39]⮀#[fg=colour25,bg=colour39,noreverse,bold] #I ⮁ #W #[fg=colour39,bg=colour234,nobold]⮀" | |
##set -g window-status-current-format "#[fg=colour234,bg=colour39]⮀#[fg=black,bg=colour39,noreverse,bold] #I ⮁ #W #[fg=colour39,bg=colour234,nobold]⮀" | |
#set -g window-status-current-fomat "#[fg=colour234,bg=colour39]#[fg=black,bg=colour39,noreverse,bold] #I: #W #[fg=colour39,bg=colour234,nobold]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment