如何将 tmux 的前缀键更改为 Ctrl?
How to change prefix key of tmux to Ctrl?
我想将 tmux 的前缀键从 C-b 更改为仅 Ctrl,并尝试按照 .tmux.conf 进行操作。但是没用。
unbind C-b
set -g prefix C
bind C send-prefix
谢谢
正如在 Unix Stack Exchange 上解释的 in another answer,这是不可能的:
Ctrl and Shift are modifiers. These keys aren't transmitted to applications running in a terminal. Rather, when you press something like Ctrl+Shift+A, this sends a character or a character sequence at the time you press the A key.
我想将 tmux 的前缀键从 C-b 更改为仅 Ctrl,并尝试按照 .tmux.conf 进行操作。但是没用。
unbind C-b
set -g prefix C
bind C send-prefix
谢谢
正如在 Unix Stack Exchange 上解释的 in another answer,这是不可能的:
Ctrl and Shift are modifiers. These keys aren't transmitted to applications running in a terminal. Rather, when you press something like Ctrl+Shift+A, this sends a character or a character sequence at the time you press the A key.