Created
July 8, 2013 13:18
-
-
Save andizzle/5948708 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
# basic settings | |
if-shell 'test -z "$POWERLINE_COMMAND"' 'if-shell "which powerline-client" "set-environment -g POWERLINE_COMMAND powerline-client" "set-environment -g POWERLINE_COMMAND powerline"' | |
set -g default-terminal "screen-256color" | |
setw -g xterm-keys on | |
set -g base-index 0 | |
set -s escape-time 0 | |
setw -g mode-mouse off | |
# bindings | |
# first rebind prefic | |
unbind C-b | |
set -g prefix C-z | |
bind C-z send-prefix | |
# easily reload config | |
bind r source-file ~/.tmux.conf \; display "Reloaded!" | |
# memorable splits | |
bind | split-window -h | |
bind - split-window -v | |
# powerline | |
set -g status on | |
set -g status-utf8 on | |
set -g status-interval 2 | |
set -g status-fg colour231 | |
set -g status-bg colour234 | |
set -g status-left-length 50 | |
set -g status-left '#[fg=colour16,bg=colour2,bold] #S #[fg=colour2,bg=colour234,nobold]#(eval $POWERLINE_COMMAND tmux left)' | |
set -g status-right '#[fg=colour166,bg=colour234,bold]#[fg=colour231,bg=colour166] #H ' | |
set -g status-right-length 150 | |
set -g window-status-format "#[fg=colour244,bg=colour234]#I#[fg=colour244,bg=colour234]: #[fg=colour249]#W " | |
set -g window-status-current-format "#[fg=colour234,bg=colour31]#[fg=colour117,bg=colour31] #I:#[fg=colour231,bold]#W #[fg=colour31,bg=colour234,nobold]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment