Skip to content

Instantly share code, notes, and snippets.

@yyandrew
Last active August 29, 2015 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yyandrew/e9cf852842f7a221bdca to your computer and use it in GitHub Desktop.
Save yyandrew/e9cf852842f7a221bdca to your computer and use it in GitHub Desktop.
unbind C-s
set -g status on
set -g prefix C-a
set additional_escapes tmux
set -g base-index 0
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# retain current PWD when open new window
bind c new-window -c "#{pane_current_path}"
bind | split-window -h
bind - split-window -v
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
setw -g window-status-current-fg white
setw -g window-status-current-bg red
setw -g window-status-current-attr bright
set -g status-left-length 40
set -g status-interval 60
set -g status-justify centre
setw -g monitor-activity on
set -g visual-activity on
set-window-option -g mode-keys vi
bind -n C-k send-keys -R \; clear-history
source /Library/Python/2.7/site-packages/powerline/bindings/tmux/powerline.conf
set-option -g default-terminal "screen-256color"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment