From 5a3a92d8137c0b34f83c9577f135052fccaf6f41 Mon Sep 17 00:00:00 2001 From: srdusr Date: Fri, 23 Jun 2023 18:35:32 +0200 Subject: Testing f12 to disable local tmux in nested tmux --- .config/tmux/tmux.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 11ed4e6..abaa643 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -13,6 +13,15 @@ unbind C-b set -g prefix C-s #set -g prefix M-Space +bind -T root F12 \ + set prefix None \;\ + set key-table off \;\ + set status-style "fg=$color_status_text,bg=$color_window_off_status_bg" \;\ + +bind -T off F12 \ + set -u prefix \;\ + set -u key-table \;\ + # Ensure that we can send Ctrl+s to other apps bind C-s send-prefix -- cgit v1.2.3