Skip to content

Instantly share code, notes, and snippets.

@alunny
Last active August 29, 2015 14:14
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 alunny/7f4d5afb09a4c157b43d to your computer and use it in GitHub Desktop.
Save alunny/7f4d5afb09a4c157b43d to your computer and use it in GitHub Desktop.
set -g mode-mouse on
set -g mouse-select-pane on
set -g mouse-resize-pane on
# important!
bind-key d confirm-before -p "detach-client? (NO) (y/n)" detach-client
set -g status-bg black
set -g status-left-fg green
set-window-option -g window-status-current-bg red
set-window-option -g window-status-current-fg white
set-window-option -g window-status-current-attr bright
# vi-style controls in copy mode
set-option -g status-keys vi
set-window-option -g mode-keys vi
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment