Skip to content

Instantly share code, notes, and snippets.

@richmondwang
Created April 25, 2017 09:14
Show Gist options
  • Save richmondwang/a1b0b7ebbce3aecab1e39e959d1f052d to your computer and use it in GitHub Desktop.
Save richmondwang/a1b0b7ebbce3aecab1e39e959d1f052d to your computer and use it in GitHub Desktop.
my tmux config
# Make mouse useful
# Toggle mouse on
bind m \
set -g mouse on \;\
display 'Mouse mode: ON'
# Toggle mouse off
bind M \
set -g mouse off \;\
display 'Mouse mode: OFF'
# Bind Split Panes and Windows to automatically start in current dir
bind % split-window -h -c '#{pane_current_path}'
bind '"' split-window -v -c '#{pane_current_path}'
# Active pane border colour
set-option -g pane-active-border-fg yellow
# Show Pane Number
set-option -g status-left '#P'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment