Skip to content

Instantly share code, notes, and snippets.

@nimatt
Created November 9, 2017 11:51
Show Gist options
  • Save nimatt/b3d5038ed8f808bed89e150b5fdf385b to your computer and use it in GitHub Desktop.
Save nimatt/b3d5038ed8f808bed89e150b5fdf385b to your computer and use it in GitHub Desktop.
Visual Studio Code
// Place your key bindings in this file to overwrite the defaults
[
// Toggle between terminal and editor focus
{ "key": "ctrl+m", "command": "workbench.action.terminal.focus"},
{ "key": "ctrl+m", "command": "workbench.action.focusActiveEditorGroup", "when": "terminalFocus"},
// Rename on ctrl+r ctrl + r
{ "key": "ctrl+r ctrl+r", "command": "editor.action.rename", "when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment