3

ideavim 如何设置在弹出代码补全时 <ESC> 不退回 Normal

 3 years ago
source link: https://www.v2ex.com/t/822391
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  程序员

ideavim 如何设置在弹出代码补全时 <ESC> 不退回 Normal

  yuhangch · yuhangch · 1 天前 · 376 次点击

和 Copilot 一起用有点小问题

在 INSERT 模式下,假如 IDE 和 Copilot 同时给出补全建议

此时想接受 Copilot 的提示会比较麻烦:

  • 直接按 tab 会接受 IDE 的代码补全
  • 按 ESC ,可以关闭 IDE 的补全,但退回了 NORMAL 模式,再按 Tab 也没法接受 Copilot 的补全了

希望配置这么一个效果: 在 IDE 弹出代码补全时,ESC 关闭代码补全同时不退回到 NORMAL 模式,请 v 友指点🍻


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK