iTerm 2 不支持 .tmux.conf 中声明的键绑定

编程入门 行业动态 更新时间:2024-10-24 18:25:52
本文介绍了iTerm 2 不支持 .tmux.conf 中声明的键绑定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送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:关键词]

本文发布于:2023-04-30 05:13:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1390122.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不支持   绑定   声明   iTerm   conf

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!