# Set the prefix to ^A unbind C-b set -g prefix C-a bind a send-prefix # I must be missing something.. why don't these work automatically? bind C-n next-window bind C-p previous-window bind C-c new-window bind C-d detach # Rebinding switching panes bind-key Up select-pane -U bind-key Down select-pane -D bind-key Left select-pane -L bind-key Right select-pane -R bind C-a last-window # basic settings set-window-option -g mode-keys vi # vi key set-option -g status-keys vi set -g default-terminal "screen-256color" 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)" set-window-option -g window-status-current-format "#[fg=colour235, bg=colour27]⮀#[fg=colour255, bg=colour27] #I ⮁ #W #[fg=colour27, bg=colour235]⮀"