Skip to content

Instantly share code, notes, and snippets.

@darmawan01
Last active November 12, 2020 08:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darmawan01/64cf9b7b3f3248d58f2aaa986eb932ed to your computer and use it in GitHub Desktop.
Save darmawan01/64cf9b7b3f3248d58f2aaa986eb932ed to your computer and use it in GitHub Desktop.
Vscode - my custom vscode settings
{
"workbench.startupEditor": "none",
"window.zoomLevel": -2,
"editor.multiCursorModifier": "ctrlCmd",
"javascript.updateImportsOnFileMove.enabled": "always",
"terminal.integrated.rendererType": "dom",
"editor.minimap.enabled": false,
"workbench.panel.defaultLocation": "right",
"workbench.editor.tabCloseButton": "right",
"terminal.integrated.cursorStyle": "underline",
"editor.renderWhitespace": "none",
"files.autoSave": "off",
"editor.cursorStyle": "underline",
"go.useLanguageServer": true,
"workbench.sideBar.location": "right",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.visible": false,
"breadcrumbs.enabled": false,
"liveServer.settings.donotVerifyTags": true,
"liveServer.settings.donotShowInfoMsg": true,
"window.restoreFullscreen": true,
"explorer.confirmDragAndDrop": false,
"workbench.colorTheme": "Back to the Code",
"extensions.ignoreRecommendations": false,
"editor.fontWeight": "bold",
"editor.fontFamily": "Fira code",
"editor.fontSize": 13,
"editor.fontLigatures": true,
"editor.lineNumbers": "on",
"editor.cursorBlinking": "smooth",
"workbench.editor.showTabs": false,
"workbench.statusBar.visible": false,
"editor.scrollBeyondLastLine": false,
"html.autoClosingTags": true,
"editor.hideCursorInOverviewRuler": true,
"editor.overviewRulerBorder": false,
"workbench.colorCustomizations": {
"editor.background": "#17263e",
"sideBar.background": "#1a2941",
"editorCursor.foreground": "#ffff",
"gitlens.gutterForegroundColor": "#ff0000"
},
"[javascript]": {
"editor.defaultFormatter": "HookyQR.beautify",
"editor.autoIndent": true,
"editor.tabSize": 2,
"editor.formatOnSave": false
},
"[html]": {
"editor.tabSize": 2,
"editor.autoIndent": true,
"editor.defaultFormatter": "HookyQR.beautify",
"editor.autoClosingBrackets": "always",
"editor.formatOnSave": true
},
"[json]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"gitlens.recentChanges.toggleMode": "window",
"terminal.external.osxExec": "iTerm.app",
"dart.openDevTools": "flutter",
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.organizeImports": true
},
}
@darmawan01
Copy link
Author

Key bindings

// Place your key bindings in this file to overwrite the defaultsauto[]
[
    {
        "key": "shift+alt+s",
        "command": "workbench.action.files.saveAll"
    },
    {
        "key": "alt+cmd+s",
        "command": "-workbench.action.files.saveAll"
    },
    {
        "key": "shift+alt+j",
        "command": "workbench.action.terminal.new"
    },
    {
        "key": "ctrl+shift+`",
        "command": "-workbench.action.terminal.new"
    },
    {
        "key": "cmd+]",
        "command": "editor.action.indentLines",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "cmd+]",
        "command": "-editor.action.indentLines",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "shift+alt+r",
        "command": "workbench.action.reloadWindow",
        "when": "isDevelopment"
    },
    {
        "key": "cmd+r",
        "command": "-workbench.action.reloadWindow",
        "when": "isDevelopment"
    },
    {
        "key": "cmd+r",
        "command": "editor.action.startFindReplaceAction"
    },
    {
        "key": "alt+cmd+f",
        "command": "-editor.action.startFindReplaceAction"
    },
    {
        "key": "shift+alt+z",
        "command": "workbench.action.togglePanel"
    },
    {
        "key": "cmd+j",
        "command": "-workbench.action.togglePanel"
    },
    {
        "key": "shift+\\",
        "command": "workbench.action.togglePanelPosition"
    }
]

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