Browse Source

* turn off F12 key prefix control from lighten tmux config

master
dimti 4 months ago
parent
commit
6dcb25ad59
  1. 12
      .tmux.light.conf

12
.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'"

Loading…
Cancel
Save