aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2019-08-23 21:07:47 -0400
committerMitch Riedstra <mitch@riedstra.us>2019-08-23 21:07:47 -0400
commit4fbd15f3a4dd8eafb9d587e518d1274e77b84ac1 (patch)
tree20ba1c22a94e3fbf68db001f47af4cee535a5b6e
parent6d500848287cd790ec2cab62d4f471686c4eb22d (diff)
downloaddotfiles-4fbd15f3a4dd8eafb9d587e518d1274e77b84ac1.tar.gz
dotfiles-4fbd15f3a4dd8eafb9d587e518d1274e77b84ac1.tar.xz
Allow tmux hotkey to be switched on the fly with a couple of pre-determined options
-rw-r--r--tmux.conf5
1 files changed, 5 insertions, 0 deletions
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