You have to install the multi-command extension in VS Code, because VS Code doesn't handle internally to trigger multiple commands.
Last active
November 23, 2022 21:03
-
-
Save pom421/b8b531b7988373ebf6646b5cbfd47073 to your computer and use it in GitHub Desktop.
Make that saving file in VS code triggers the return in Vim normal mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"key": "cmd+s", | |
"command": "extension.multiCommand.execute", | |
"args": { | |
"sequence": [ | |
"workbench.action.files.save", | |
"extension.vim_escape" | |
] | |
}, | |
"when": "editorTextFocus && vim.active && vim.mode != 'Normal'" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment