diff --git a/tmux.conf b/tmux.conf index 16ca30e..51551ce 100644 --- a/tmux.conf +++ b/tmux.conf @@ -3,9 +3,6 @@ unbind C-b set -g prefix C-a bind a send-prefix -# Start numbering at 1 -set -g base-index 1 - # I must be missing something.. bind C-n next-window bind C-p previous-window @@ -18,31 +15,14 @@ bind C-a last-window # basic settings set-window-option -g mode-keys vi # vi key set-option -g status-keys vi -set-window-option -g utf8 on # utf8 support set -g default-terminal "screen-256color" -set -g status-fg white -set -g status-bg colour234 -set -g window-status-activity-attr bold -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 - -# Stole Steve Losh's status line: https://github.com/sjl/dotfiles/blob/master/tmux/tmux.conf -# Powerline symbols: ⮂ ⮃ ⮀ ⮁ ⭤ -set -g status-left-length 32 -set -g status-right-length 150 -set -g status-interval 5 - -#set -g status-left '#[fg=colour238,bg=colour234,nobold]⮀' -#set -g status-right '#[fg=colour245]⮃ %R ⮃ %d %b #[fg=colour254,bg=colour234,nobold]⮂#[fg=colour16,bg=colour254,bold] #h ' -#set -g window-status-format "#[fg=white,bg=colour234] #I #W " -#set -g window-status-current-format "#[fg=colour234,bg=colour39]⮀#[fg=colour16,bg=colour39,noreverse,bold] #I ⮁ #W #[fg=colour39,bg=colour234,nobold]⮀" -# No fancy chars -set -g status-left '#[fg=colour238,bg=colour234,nobold]' -set -g status-right '#[fg=colour245] %R %d %b #[fg=colour254,bg=colour234,nobold]#[fg=colour16,bg=colour254,bold] #h ' -set -g window-status-format "#[fg=white,bg=colour234] #I #W " -set -g window-status-current-format "#[fg=colour234,bg=colour39]#[fg=colour16,bg=colour39,noreverse,bold] #I #W #[fg=colour39,bg=colour234,nobold]" +set-option -g status on +set-option -g status-interval 2 +set-option -g status-utf8 on +set-option -g status-justify "centre" +set-option -g status-left-length 60 +set-option -g status-right-length 90 +set-option -g status-left "#(~/dotfiles/tmux-powerline/powerline.sh left)" +set-option -g status-right "#(~/dotfiles/tmux-powerline/powerline.sh right)"