当我在插入模式下按 Ctrl+S 时,如何阻止 NeoVim 发送 ^S 字符?
我想重新映射
以保存文件。它在正常模式下工作正常。但是,当我处于插入模式并按 Ctrl+S
时,它只会发送字符 ^S
(作为单个字符)。
我正在使用 Windows 10 和 Powershell 打开 NeoVim。有没有一种方法可以在我当前的情况下映射 Ctrl+S 来保存文件?我还应该坚持使用 Powershell 还是应该切换到另一个终端?
I wanted to remap <C-s>
to save a file. It works fine in normal mode. But when I'm in Insert Mode and I press Ctrl+S
, it just send the character ^S
(as a single character).
I'm using Windows 10 and Powershell to open NeoVim. Is there a way that I can map Ctrl+S to save the file in my current situation? Also should I stick to Powershell or should I switch to another terminal?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我会尝试将其重新映射为类似
I would try remapping it to something like