resources available on the web are only touching on vim editor. I am new to vim and I don't want to mess with my workspace settings. How do I go about changingg or keeping esc and adding jk as an optional key binding to leave insert mode in Vim in Vscode.
You should change the vscode json settings.
To do that Press F2 or Ctrl+Shift+P to open vscode commands enter image description here
then you have to writte this:
"vim.insertModeKeyBindings": [
{ //exit insert mode
"before": [
"j",
"k"
],
"after": [
"<Esc>"
]
}]
This code is mapping jk as. For more info on what you can do with vscode settings I recomen visiting vscode vim github enter link description here
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.