tmux重新映射提示为命令-ctrl-b+ :

发布于 2025-01-23 11:31:01 字数 160 浏览 1 评论 0原文

目标是能够键入ctrl -b +;而不是ctrl -b +:激活tmux命令提示符。

我不知道如何创建这种特定的绑定。

我知道如何使用bind-keys有一个快捷方式来执行命令以创建新窗口。

The goal is to be able to type Ctrl-b + ; instead of Ctrl - b + : to activate the tmux command prompt.

I can't figure out how create this particular binding.

I know how to use bind-keys to have a shortcut to execute commands to creating new windows etc.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

云朵有点甜 2025-01-30 11:31:01

通过shell:

tmux bind-key -T prefix "\;" command-prompt

中.tmux.conf配置或tmux command-prompt

bind \; command-prompt

有关说明,请参见 tmux结合半隆。之所以逃脱,是因为它是tmux命令中的命令分离器。

via shell:

tmux bind-key -T prefix "\;" command-prompt

In .tmux.conf configuration or tmux command-prompt:

bind \; command-prompt

For explanation, see tmux bind semicolon. It's escaped because it's a command separator in tmux commands.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文