From 4fbd15f3a4dd8eafb9d587e518d1274e77b84ac1 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Fri, 23 Aug 2019 21:07:47 -0400 Subject: Allow tmux hotkey to be switched on the fly with a couple of pre-determined options --- tmux.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tmux.conf b/tmux.conf index a7937a5..40ef438 100644 --- a/tmux.conf +++ b/tmux.conf @@ -14,6 +14,11 @@ set -g status-right "#[fg=black,bg=green] #(whoami)@#h|m:#(sh $HOME/.tmux_helper # Pretty nifty little option to mirror input for all panes bind M-s setw synchronize-panes +# Allow the hotkeys to be switched using M-x to C-x, M-b to C-b, and so forth +bind M-x set prefix C-x +bind M-b set prefix C-b +bind M-a set prefix C-a + # set -g mode-mouse on setw -g mode-keys vi # setw -g aggressive-resize on -- cgit v1.2.3