diff --git a/home/user/.config/tmux/mappings.conf b/home/user/.config/tmux/mappings.conf index 2983fd7..3e67e8f 100644 --- a/home/user/.config/tmux/mappings.conf +++ b/home/user/.config/tmux/mappings.conf @@ -1,9 +1,20 @@ # vim: ft=tmux + 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 bind -n M-f resize-pane -Z