问题描述
限时送ChatGPT账号..我使用最新的稳定版 iTerm2 (2.0) 和最新的 Homebrew 构建的 tmux (1.9a).不幸的是,我在 .tmux.conf
中声明的键绑定不适用于集成模式"下的 iTerm2/tmux 组合(即当 iTerm2 接管 tmux 窗口和窗格的管理时).我在 iTerm 中尝试了不同的前缀(C-b、M-a)以及不同的键映射,但无济于事.
I am using the latest stable version of iTerm2 (2.0) with the latest Homebrew build of tmux (1.9a). Unfortunately, my keybindings as declared in .tmux.conf
do not work with the iTerm2/tmux combo in "integrated mode" (i.e. when iTerm2 takes over the management of tmux windows and panes). I tried different prefixes (C-b, M-a) as well as different key mappings in iTerm, but to no avail.
这确实是 iTerm 错误吗?或者我对 .tmux.conf 键绑定会被带到 iTerm 的期望是错误的吗?甚至我的 tmux 命令前缀 (M-a) 也不起作用!
Is this indeed an iTerm bug? Or is my expectation that the .tmux.conf keybindings would be carried over to iTerm a false one? Even my tmux command prefix (M-a) does not work!
您可以在 https://gist.github/453ab63c42df976bc2be 查看我的 tmux 配置文件.
You may view my tmux configuration file at https://gist.github/453ab63c42df976bc2be.
推荐答案
有人在 iTerm2 Tmux 集成默认键绑定在 2015 年不起作用.开发人员 George Nachman 的回应表明不支持键绑定:
Someone reported a similar bug at iTerm2 Tmux Integration Default Keybindings not working in 2015. The response from the developer George Nachman suggests that keybindings are not supported:
tmux 集成的主要目标之一是您使用 iTerm2 的击键,而不是 tmux.如果您无法执行特定的工作流程本地完成,让我知道——有很多力量在在 iTerm2 中重新映射键的能力.
One of the main goals of the tmux integration is that you use iTerm2's keystrokes, not tmux's. If there's a specific workflow that you can't accomplish natively, let me know--there is a lot of power in the ability to remap keys in iTerm2.
这篇关于iTerm 2 不支持 .tmux.conf 中声明的键绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
更多推荐
[db:关键词]
发布评论