Skip to content

Instantly share code, notes, and snippets.

@antmdvs
Created September 26, 2016 19:25
Show Gist options
  • Save antmdvs/eb3553199e4dcd7b2dcc13d13a234d9b to your computer and use it in GitHub Desktop.
Save antmdvs/eb3553199e4dcd7b2dcc13d13a234d9b to your computer and use it in GitHub Desktop.
Visual Studio Code keybindings that swap insertLineBefore/insertLineAfter to be consistent with Visual Studio Proper
[
// swap these to be consistent with the defaults for Visual Studio proper
{
"key": "ctrl+enter",
"command": "editor.action.insertLineBefore",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+enter",
"command": "editor.action.insertLineAfter",
"when": "editorTextFocus && !editorReadonly"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment