tmux mappings toggling

This commit is contained in:
thek4n 2024-03-30 21:41:25 +03:00
parent faf7b8b68b
commit cb5db2d90b

View File

@ -1,9 +1,20 @@
# vim: ft=tmux # vim: ft=tmux
set -g prefix C-b set -g prefix C-b
# Ctrl+a to send prefix to remote tmux
bind -n C-a send-prefix # Toggle local tmux mappings to allow control remote tmux
bind -T root F12 \
set prefix None \;\
set key-table off \;\
set status off
bind -T off F12 \
set -u prefix \;\
set -u key-table \;\
set status on
# Zoom pane # Zoom pane
bind -n M-f resize-pane -Z bind -n M-f resize-pane -Z