74th / vscode-vim

vim emulator for Visual Studio Code
MIT License
215 stars 25 forks source link

add vim mode for keybindings #45

Closed 74th closed 7 years ago

74th commented 7 years ago

Enable using vim modes for keybidings. ex:

{
    // Ctrl-H : BackSpace
    "key": "ctrl+h",
    "command": "deleteLeft",
    "when": "editorTextFocus && vim.inInsertMode"
},

And only enabled ESC keybindings to the option to enable vim extension.

{
    "command": "vim.Esc",
    "key": "escape",
    "when": "editorTextFocus && vim.enabled"
}