一些更新后,特殊字符绑定停止工作

发布于 2025-02-07 08:20:56 字数 593 浏览 1 评论 0原文

当我跨越修复我的nvim时,我试图在nvim上添加插件:核对健康

我运行了几个命令:

pip3 install pynvim
yarn global add neovim
npm install -g neovim
gem install neovim
gem environment

然后,我注意到很少有绑定不再起作用了:(

nnoremap _ V
nnoremap \| <C-r>

可能很少有其他绑定)

在我的(dvorak)键盘中,这些绑定是转移特殊键的绑定以及出于某些原因,当我按下它们时,我会得到一个结果,例如我按下&lt; home&gt;

我试图检查:MAP _:详细的地图_,它是正确的。

此外,在进行修改之前,我又开了一个NVIM,并且绑定仍在起作用。

我无法弄清楚为什么它不起作用。有什么想法吗?谢谢

编辑:即使使用命令nvim -noplugin -u/dev/null,然后手动设置绑定,它仍然不起作用

I was trying to add a pluggin to my nvim when I strarted fixing my :checkhealth

I ran few commands:

pip3 install pynvim
yarn global add neovim
npm install -g neovim
gem install neovim
gem environment

Then, I noticed few binding were not working anymore:

nnoremap _ V
nnoremap \| <C-r>

(and probably few others)

In the my (dvorak) keyboard, those bindings are shifted binding of special keys and for some reasons when I press them, I get a result like if I was pressing <HOME>.

I tried to check the :map _ and :verbose map _ and it is binded correctly.

Furthermore, I had another nvim openned before I made the modifications and the bindings were still working.

I cannot figue out why its not working. Any idea? thanks

EDIT: even with the command nvim --noplugin -u /dev/null and then manually setting up the binding, it still does not work

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

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

发布评论

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

评论(1

纸短情长 2025-02-14 08:20:56

确认是一个错误。
解决方法:nnoremap&lt; s -_&gt; V

Confirmed to be a bugged.
Workaround: nnoremap <S-_> V

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