Skip to content

Instantly share code, notes, and snippets.

@romanlv
Last active December 12, 2019 03:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save romanlv/30659b3af11b0deeadde351b3d0e48f5 to your computer and use it in GitHub Desktop.
Save romanlv/30659b3af11b0deeadde351b3d0e48f5 to your computer and use it in GitHub Desktop.
vscode settings - stop autoreveal in file explorer, key shortcuts to autofix eslint errors and reveal in file explorer
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "cmd+e",
"command": "eslint.executeAutofix",
"when": "editorTextFocus"
},
{
"key": "cmd+r",
"command": "workbench.files.action.showActiveFileInExplorer",
"when": "editorTextFocus"
}
]
{
"window.zoomLevel": 1,
"editor.fontSize": 13,
"explorer.autoReveal": false
}
@romanlv
Copy link
Author

romanlv commented Dec 12, 2019

when using VSCode neovim

// add this
[

    {
        "key": "Escape",
        "command": "vscode-neovim.escape",
        "when": "editorTextFocus && neovim.mode != normal"
    },
    {
        "key": "j j",
        "command": "vscode-neovim.escape",
        "when": "editorTextFocus && neovim.mode == insert"
    }
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment