Skip to content
On this page

vscode_VIM按键绑定问题


标签:vscode/fix  

用 VSCode 将 <C-e>绑定到<End>失败

按照这个解决了:visual studio code - Vim for VSCode: Remap ctrl + e to go to end of line in insert mode - Stack Overflow

貌似如果使用 Ctrl按键去绑定的话,很多都没有生效。

json
"vim.useSystemClipboard": true,
  "vim.insertModeKeyBindingsNonRecursive": [
      { "before": [ "<c-e>" ], "commands": [ "cursorLineEnd", ] },
      { "before": [ "<c-k>" ], "after": [ "<esc>", ] }
   ]

Last updated: