tmux mappings toggling
This commit is contained in:
parent
faf7b8b68b
commit
cb5db2d90b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user