From 33d3d5e25a8ae8239a2db9ac076c4326d0997216 Mon Sep 17 00:00:00 2001 From: srdusr Date: Sat, 24 Jun 2023 13:22:47 +0200 Subject: Re-changed some keybindings for disabling local keybindings for nested tmux --- .config/tmux/tmux.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.config/tmux/tmux.conf') diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 364cf96..115d3dd 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -16,14 +16,17 @@ set -g prefix C-s # Ensure that we can send Ctrl+s to other apps bind C-s send-prefix +# send the prefix to client inside window +bind-key -n C-a send-prefix + # Disable local tmux keys (nested tmux) -bind -T root C-S \ +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 C-S \ +bind -T off F12 \ set -u prefix \;\ set -u key-table \;\ refresh-client -S -- cgit v1.2.3