Skip to content

Instantly share code, notes, and snippets.

@jagtesh
Created November 9, 2012 06:59
Show Gist options
  • Save jagtesh/4044142 to your computer and use it in GitHub Desktop.
Save jagtesh/4044142 to your computer and use it in GitHub Desktop.
My Tmux Power Config (Mouse friendly)
# Sets Ctrl-A as the default modifier key (same as screen, habitually used to it)
set-option -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
# Enables pane selection using the mouse, even in xterm
set -g mouse-select-pane on
# Pane scrolling using the mouse wheel
setw -g mode-mouse on
# Lower escape timing from 500ms to 50ms for quicker response to scroll-buffer access.
set -s escape-time 50
# Automatically copy text copied in tmux to clipboard
# Install xsel for this - sudo apt-get install xel
#bind-key C run-shell “tmux show-buffer | xsel -i -b”
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment