Skip to content

Instantly share code, notes, and snippets.

@aniline
Created September 25, 2017 11:33
Show Gist options
  • Save aniline/ed1689c4243484542a3bf4848886508f to your computer and use it in GitHub Desktop.
Save aniline/ed1689c4243484542a3bf4848886508f to your computer and use it in GitHub Desktop.
My .tmux.conf
set-option -g status on
set -g terminal-overrides 'xterm*:smcup@:rmcup@,rxvt*:smcup@:rmcup@'
# Emacs add prefix as well, keep telnet escape as prefix.
unbind-key C-b
set-option -g prefix C-]
set-option -g prefix2 C-x
# Emacs window management keys
unbind-key -T prefix 1
unbind-key -T prefix 2
unbind-key -T prefix 3
bind-key -T prefix 1 resize-pane -Z
bind-key -T prefix 2 split-window
bind-key -T prefix 3 split-window -h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment