Skip to content

Instantly share code, notes, and snippets.

@jkniiv
Created September 17, 2018 04:05
Show Gist options
  • Save jkniiv/751da4b667f5e14f8c1002515138954d to your computer and use it in GitHub Desktop.
Save jkniiv/751da4b667f5e14f8c1002515138954d to your computer and use it in GitHub Desktop.
A snippet from my .tmux.conf.local, i.e. the local configuration file of Oh My Tmux! (https://github.com/gpakosz/.tmux)
# (jkniiv, 2018-08-16) replace C-b by C-x instead of using both prefixes
# The reason I use Ctrl-x with tmux is that it's comfortable and it works fine with nano and others (not a vim guy).
# Ok, so it conflicts with nano's exit function but that's just a plus in my view to have to issue a double C-x to exit :)
set -gu prefix2
unbind C-a
unbind C-b
set -g prefix C-x
bind C-x send-prefix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment