commit 2039a83a8810ffb686ee1b34c1d708488cd2de85
parent 97a3d1d84342a2eea8a15a501e611a74b3451676
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date: Thu, 9 Aug 2018 16:24:30 +0300
Keep default prefix binding in tmux
Simply add a new prefix binding C-a and keep the default binding C-b.
Diffstat:
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/tmux.conf b/tmux.conf
@@ -6,10 +6,9 @@
########## re-binding #######################
#############################################
-# remap prefix from 'C-b' to 'C-a'
-unbind C-b
-set-option -g prefix C-a
-bind-key C-a send-prefix
+# GNU-Screen compatible prefix
+set -g prefix2 C-a
+bind C-a send-prefix -2
# split panes using | and -
bind | split-window -h