将 tmux 的 emacs-mode 键中的 "Quit mode" 更改为 C-g
Change "Quit mode" in emacs-mode keys of tmux to C-g
在 tmux 中,在 copy-mode
中,可以使用 Esc
或 q
退出(在 vi 模式下)。我希望它是 C-g
。有办法吗?
Turns out the relevant command is called cancel
and the relevant mode 被称为 emacs-copy
,所以技巧是什么
bind-key -t emacs-copy C-g cancel
在 tmux 中,在 copy-mode
中,可以使用 Esc
或 q
退出(在 vi 模式下)。我希望它是 C-g
。有办法吗?
Turns out the relevant command is called cancel
and the relevant mode 被称为 emacs-copy
,所以技巧是什么
bind-key -t emacs-copy C-g cancel