1
0
Fork 0
mirror of synced 2025-04-27 08:39:42 -04:00

replace BTab with 'l' for improved keybinding compatibility

Many terminal emulators do not properly recognize 'BTab' (BackTab) in tmux.
To improve compatibility and avoid issues with unsupported key sequences,
this commit replaces 'BTab' with the 'l' key for switching to the last session.

- Changed `bind-key BTab switch-client -l` to `bind-key l switch-client -l`
- Ensured that the new keybinding works consistently across terminals
- Improved usability without requiring terminal-specific workarounds

This change provides a more reliable and user-friendly experience when toggling
between sessions in tmux.
This commit is contained in:
Let Avocado 2025-01-29 21:41:10 +05:00 committed by GitHub
parent 129d6e7ff3
commit 8fbee7f65a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,7 +75,7 @@ bind C-c new-session
bind C-f command-prompt -p find-session 'switch-client -t %%'
# session navigation
bind BTab switch-client -l # move to last session
bind-key l switch-client -l # move to last session
# split current window horizontally
bind - split-window -v