Skip to content

Instantly share code, notes, and snippets.

@Fawers
Last active April 24, 2019 12:26
Show Gist options
  • Save Fawers/a2a966aa4dc144a1dcfebd994001858e to your computer and use it in GitHub Desktop.
Save Fawers/a2a966aa4dc144a1dcfebd994001858e to your computer and use it in GitHub Desktop.
VSCode Settings + Keybindings
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "alt+j",
"command": "editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+space",
"command": "-editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+d",
"command": "workbench.view.debug"
},
{
"key": "ctrl+shift+d",
"command": "-workbench.view.debug"
},
{
"key": "alt+left",
"command": "-workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus"
},
{
"key": "alt+left",
"command": "workbench.action.navigateBack"
},
{
"key": "alt+-",
"command": "-workbench.action.navigateBack"
},
{
"key": "alt+right",
"command": "workbench.action.navigateForward"
},
{
"key": "shift+alt+-",
"command": "-workbench.action.navigateForward"
},
{
"key": "f10",
"command": "editor.action.sortLinesAscending",
"when": "!inDebugMode"
},
{
"key": "f10",
"command": "workbench.action.debug.stepOver",
"when": "inDebugMode"
},
{
"key": "ctrl+k ctrl+e",
"command": "workbench.view.explorer"
},
{
"key": "ctrl+shift+e",
"command": "-workbench.view.explorer"
},
{
"key": "ctrl+k ctrl+g",
"command": "workbench.view.scm"
},
{
"key": "ctrl+shift+g",
"command": "-workbench.view.scm"
},
{
"key": "ctrl+k ctrl+x",
"command": "-editor.action.trimTrailingWhitespace",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+x",
"command": "workbench.view.extensions"
},
{
"key": "ctrl+shift+x",
"command": "-workbench.view.extensions"
},
{
"key": "ctrl+k ctrl+d",
"command": "-editor.action.moveSelectionToNextFindMatch",
"when": "editorFocus"
}
]
{
"d.servedPath": "$HOME/.local/share/code-d/bin/serve-d",
"dfmt.braceStyle": "otbs",
"editor.fontSize": 16,
"editor.formatOnPaste": true,
"editor.minimap.enabled": false,
"editor.minimap.renderCharacters": false,
"editor.multiCursorModifier": "ctrlCmd",
"editor.renderWhitespace": "boundary",
"editor.snippetSuggestions": "top",
"editor.suggestSelection": "first",
"extensions.ignoreRecommendations": false,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"go.autocompleteUnimportedPackages": true,
"go.inferGopath": true,
"php.suggest.basic": false,
"php.validate.enable": false,
"php.validate.executablePath": "php",
"python.jediEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.pylintEnabled": false,
"python.pythonPath": "/usr/bin/python3",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"window.zoomLevel": 0,
"workbench.startupEditor": "none",
"[markdown]": {
"files.trimTrailingWhitespace": false,
"editor.rulers": [
142
]
},
"emmet.includeLanguages": {
"jinja": "html",
"django-html": "html",
"twig": "html"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment