diff options
author | Mike Beattie <mike@ethernal.org> | 2019-12-06 11:25:29 +0000 |
---|---|---|
committer | Mike Beattie <mike@ethernal.org> | 2019-12-06 11:25:29 +0000 |
commit | 82e29be5d5a7572f474ed21ad41b61dd87ec48b2 (patch) | |
tree | 710a0663b4a9d8ae5e15586f2b4c7f2a76dc3596 | |
parent | dd427a533fbdcd40d3662668b48864bbd403fb10 (diff) |
TMUX: tweak x/C-x bindings
Signed-off-by: Mike Beattie <mike@ethernal.org>
-rw-r--r-- | .tmux.conf | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -45,7 +45,13 @@ setw -g window-status-style fg=white,dim # Add a second prefix, and a binding to send the prefix set -g prefix2 C-x -bind-key -T prefix C-x send-prefix -2 +bind-key -T prefix x send-prefix -2 + +# Rebind '<prefix> C-x' to switch to the last active window +bind-key -T prefix C-x last-window + +# Re-add the old '<prefix> x' binding as C-q +bind-key -T prefix C-q confirm-before -p "kill-pane #P? (y/n)" kill-pane # Remove the Ctrl-<direction> bindings unbind-key -T prefix C-Up |