Skip to content

Instantly share code, notes, and snippets.

@alvinlai
Created March 15, 2013 18:05
Show Gist options
  • Save alvinlai/5171806 to your computer and use it in GitHub Desktop.
Save alvinlai/5171806 to your computer and use it in GitHub Desktop.
My tmux config, changes prefix key from C-b to C-t so it won't interfere with emacs bindings, enables mouse mode
# restart tmux by:
# $ tmux kill-server
unbind C-b
set -g prefix C-t
bind C-t send-prefix
set-option -g mouse-select-pane on
set-option -g mouse-select-window on
set-window-option -g mode-mouse on
@alvinlai
Copy link
Author

Fav shortcuts:

C-t + % - Splits window vertically
C-t + " - Splits window horizontally
C-t + Alt + Up | Down | Left | Right - Resizes window
C-t + Up | Down | Left | Right - Focus on window

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment