Skip to content

Instantly share code, notes, and snippets.

@kescobo
Created August 13, 2020 13:29
Show Gist options
  • Save kescobo/3bc5416d83343ebe53da73813d4a61e6 to your computer and use it in GitHub Desktop.
Save kescobo/3bc5416d83343ebe53da73813d4a61e6 to your computer and use it in GitHub Desktop.
Juno keyboard shortcuts in VS-code
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+shift+l",
"command": "workbench.action.editor.changeLanguageMode"
},
{
"key": "ctrl+k m",
"command": "-workbench.action.editor.changeLanguageMode"
},
{
"key": "ctrl+shift+d",
"command": "editor.action.duplicateSelection"
},
{
"key": "ctrl+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+down",
"command": "-editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+up",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+up",
"command": "-editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditor",
"when": "!terminalFocus"
},
{
"key": "ctrl+pagedown",
"command": "-workbench.action.nextEditor"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.previousEditor",
"when": "!terminalFocus"
},
{
"key": "ctrl+pageup",
"command": "-workbench.action.previousEditor"
},
{
"key": "ctrl+tab",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus"
},
{
"key": "ctrl+[Backslash]",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+7",
"command": "-editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+j alt+o",
"command": "language-julia.startREPL"
},
{
"key": "shift+enter",
"command": "language-julia.executeCodeBlockOrSelectionAndMove",
"when": "editorTextFocus && editorLangId == 'julia'"
},
{
"key": "alt+enter",
"command": "-language-julia.executeCodeBlockOrSelectionAndMove",
"when": "editorTextFocus && editorLangId == 'julia'"
},
{
"key": "shift+meta+enter",
"command": "language-julia.executeCellAndMove",
"when": "editorTextFocus && editorLangId == 'julia'"
},
{
"key": "shift+enter",
"command": "-language-julia.executeCellAndMove",
"when": "editorTextFocus && editorLangId == 'julia'"
},
{
"key": "ctrl+enter",
"command": "language-julia.executeCodeBlockOrSelection",
"when": "editorTextFocus && editorLangId == 'julia'"
},
{
"key": "ctrl+shift+enter",
"command": "language-julia.executeFile",
"when": "editorTextFocus && editorLangId == 'julia'"
},
{
"key": "meta+enter",
"command": "language-julia.executeCell",
"when": "editorTextFocus && editorLangId == 'julia'"
},
{
"key": "ctrl+enter",
"command": "-language-julia.executeJuliaCodeInREPL",
"when": "editorTextFocus && editorLangId == 'juliamarkdown'"
},
{
"key": "ctrl+enter",
"command": "-language-julia.executeJuliaCodeInREPL",
"when": "editorTextFocus && editorLangId == 'julia'"
},
{
"key": "alt+j alt+p",
"command": "language-julia.show-plotpane"
},
{
"key": "alt+j alt+w",
"command": "REPLVariables.focus"
},
{
"key": "escape",
"command": "language-julia.clearCurrentInlineResult",
"when": "editorTextFocus && juliaHasInlineResult && !editorHasSelection && !findWidgetVisible && !inSnippetMode && !isInEmbeddedEditor && !markerNavigationVisible && !onTypeRenameInputVisible && !parameterHintsVisible && !renameInputVisible && !suggestWidgetVisible && editorLangId == 'julia'"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment