gpakosz / .tmux

🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️
MIT License
21.54k stars 3.33k forks source link

Changing prefix to <C-s> works but <C-a> continues to be another prefix even after unbind #727

Closed amit-raut closed 4 months ago

amit-raut commented 4 months ago

Thank you for amazing tmux script. I really like it.

I would like to know if I can change the prefix to C-s and unbind C-a completely.

I used following in .config/tmux/tmux.conf.local and I can confirm C-b is no longer prefix but C-s and C-a still work as prefix

# replace C-b by C-a instead of using both prefixes
# set -gu prefix2
unbind C-a 
unbind C-b
set-option -g prefix C-s
bind-key C-s send-prefix

Please let me know if I need to make additional changes to remove C-a from being the prefix. Thanks!

amit-raut commented 4 months ago

Simply forgot to remove comment for. My bad

set -gu prefix2