This topic created in 228 days ago, the information mentioned may be changed or developed.
vscode+vim 插件,在 vim normal 下,如果 ai 补全代码的提示,按 Tab 无法接受,一定要到 insert 模式才可以接受。但是 cursor+vim 插件,在 normal 下也可以 tab 接受代码或者跨行编辑。
请问:
1.vscode+vim 模式是否也可以通过配置,实现在 vim normal 模式下也可以 tab 接受代码
2.cursor+vim 模式下正常工作,是否是因为 cursor 本身对 vim 用户做了优化。
2 replies • 2025-10-30 10:45:25 +08:00
 |
|
1
Stunt4013 Oct 28, 2025
在 normal mode 下 tab 相当于 CTRL-I ,试试把 vim 默认的 keymap 删除
|
 |
|
2
xlsama Oct 30, 2025
`keybindings.json`, 我用的 neovim 这样配置,可以在 normal 模式下 tab 补全,你可以参考一下
```json { "key": "tab", "command": "-vscode-neovim.send", "when": "neovim.init && neovim.recording || editorTextFocus && neovim.init && neovim.mode != 'insert' && editorLangId not in 'neovim.editorLangIdExclusions'" }, ```
|