From 6dcb25ad59ee07b17e77e8654eaba984fd1b560a Mon Sep 17 00:00:00 2001 From: dimti Date: Sat, 20 Jan 2024 13:09:20 +0300 Subject: [PATCH] * turn off F12 key prefix control from lighten tmux config --- .tmux.light.conf | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.tmux.light.conf b/.tmux.light.conf index 120956a..cadfaf1 100644 --- a/.tmux.light.conf +++ b/.tmux.light.conf @@ -41,18 +41,6 @@ bind-key -T copy-mode-vi WheelDownPane send-keys -X halfpage-down # Tmux config reload bind r source-file ~/.tmux.conf -# Toggle prefix on/off with F12 (for nested remote sessions) -bind -T root F12 \ - set prefix None \;\ - set key-table off \;\ - if -F '#{pane_in_mode}' 'send-keys -X cancel' \;\ - refresh-client -S \;\ - -bind -T off F12 \ - set -u prefix \;\ - set -u key-table \;\ - refresh-client -S - # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) if "test ! -d ~/.tmux/plugins/tpm" \ "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"