* turn off F12 key prefix control from lighten tmux config
This commit is contained in:
@ -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'"
|
||||
|
Reference in New Issue
Block a user