diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-06-24 13:22:47 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-06-24 13:22:47 +0200 |
| commit | 33d3d5e25a8ae8239a2db9ac076c4326d0997216 (patch) | |
| tree | 3355847e08b8ff305cabcd34b2af7268ee2f5dcb /.config | |
| parent | 07e3c9e55010b0f5d102e5390d9dd1ed50acaa65 (diff) | |
| download | dotfiles-33d3d5e25a8ae8239a2db9ac076c4326d0997216.tar.gz dotfiles-33d3d5e25a8ae8239a2db9ac076c4326d0997216.zip | |
Re-changed some keybindings for disabling local keybindings for nested tmux
Diffstat (limited to '.config')
| -rw-r--r-- | .config/tmux/tmux.conf | 7 |
1 files changed, 5 insertions, 2 deletions
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 |
