如何将MacOS上的CMD键映射从Kitty发送到Neovim?

发布于 2025-02-08 15:27:31 字数 399 浏览 2 评论 0原文

我想在我的mappings.lua配置中使用以下映射:

map('n', '<C-D-[>', ':BufferPrevious<cr>', options)
map('n', '<C-D-]>', ':BufferNext<cr>', options)
map('n', '<C-D-w>', ':BufferClose<cr>', options)

我当前在我的kitty.conf中都有此映射。

map ctrl+cmd+[ send_text all ?

I'd like to use the following mapping in my mappings.lua configuration:

map('n', '<C-D-[>', ':BufferPrevious<cr>', options)
map('n', '<C-D-]>', ':BufferNext<cr>', options)
map('n', '<C-D-w>', ':BufferClose<cr>', options)

I currently have this in my kitty.conf which is not working.

map ctrl+cmd+[ send_text all ?

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

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

发布评论

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

评论(1

小傻瓜 2025-02-15 15:27:31

如果没有安装Python2,当前新的新存储库的最新提交不支持MACO。

为了解决此问题,您应该恢复为db53e94克隆存储库后。为此,执行以下命令:

git reset --hard db53e94

并在zshrc中添加以下环境变量:

export SKIA_BINARIES_URL=https://github.91chi.fun//https://github.com/rust-skia/skia-binaries/releases/download/{tag}/skia-binaries-{key}.tar.gz

重新启动shell,重新使用货物捆绑包-Release命令以构建应用程序,并将构建的应用程序拖到 /应用程序文件夹。

The latest commit of the current Neovide repository does not support macOS without Python2 installed.

To fix this, you should revert to commit db53e94 after cloning the repository. To do this, execute the following command:

git reset --hard db53e94

And add the following environment variables in zshrc:

export SKIA_BINARIES_URL=https://github.91chi.fun//https://github.com/rust-skia/skia-binaries/releases/download/{tag}/skia-binaries-{key}.tar.gz

Restart the shell, re-use the cargo bundle --release command to build the App, and drag the built App to the /Applications folder.

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