Skip to content

Instantly share code, notes, and snippets.

@yxdb
Created February 23, 2017 03:47
Show Gist options
  • Save yxdb/1432f782e1fe815358f62f19bcd3c312 to your computer and use it in GitHub Desktop.
Save yxdb/1432f782e1fe815358f62f19bcd3c312 to your computer and use it in GitHub Desktop.
#source "/home/xyyu/.local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf"
#source "/home/xyyu/.tmuxline.conf"
set-option -g default-terminal "screen-256color"
setw -g mode-keys vi
#set -g mode-mouse on
set -g renumber-windows on
#unbind C-s
#set -g prefix C-b
#bind-key C-b send-prefix
#unbind C-b
#set -g prefix C-s
#bind-key C-s send-prefix
# pane navigation
bind -r h select-pane -L # move left
bind -r j select-pane -D # move down
bind -r k select-pane -U # move up
bind -r l select-pane -R # move right
bind > swap-pane -D # swap current pane with the next one
bind < swap-pane -U # swap current pane with the previous one
# pane resizing
bind -r H resize-pane -L 2
bind -r J resize-pane -D 2
bind -r K resize-pane -U 2
bind -r L resize-pane -R 2
# window navigation
#unbind n
#unbind p
#bind -r C-h previous-window # select previous window
#bind -r C-l next-window # select next window
#bind Tab last-window # move to last active window
#### 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment