Skip to content

Commit

Permalink
Change tmux prefix to C-\
Browse files Browse the repository at this point in the history
This is `toggle-input-method` in Emacs, which I've never once used, and
doesn't clash for any other program. It's also a lot more ergonomic than
C-z on a MacBook Air.
  • Loading branch information
bradwright committed Apr 18, 2015
1 parent 5c37348 commit 3f13f20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tmux.conf
Expand Up @@ -9,10 +9,10 @@ if-shell "test -f ~/.localtmux.conf" 'source ~/.localtmux.conf'
## These enables xterm mouse reporting in tmux
# set -g terminal-overrides 'xterm-256color*:smcup@:rmcup@'

# rebind C-b to C-z
set -g prefix C-z
# rebind C-b to C-\ - http://superuser.com/a/271791
unbind-key C-b
bind-key C-z send-prefix
set -g prefix 'C-\'
bind-key 'C-\' send-prefix

# Shortcut to get to the last window
bind-key C-a last-window
Expand Down

0 comments on commit 3f13f20

Please sign in to comment.