Skip to content

Instantly share code, notes, and snippets.

@yablko
Last active November 9, 2022 18:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save yablko/8a49e107e84f8693a86e4169210bf460 to your computer and use it in GitHub Desktop.
Save yablko/8a49e107e84f8693a86e4169210bf460 to your computer and use it in GitHub Desktop.
VS Code nastavenia 2020
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "shift+cmd+b",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "cmd+b",
"command": "-workbench.action.toggleSidebarVisibility"
},
{
"key": "shift+cmd+d",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "cmd+d",
"command": "-editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "shift+alt+down",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+d",
"command": "lafe.duplicateCode"
},
{
"key": "ctrl+k d",
"command": "-lafe.duplicateCode"
},
{
"key": "cmd+k",
"command": "expandLineSelection",
"when": "editorFocus"
},
{
"key": "cmd+l",
"command": "-expandLineSelection",
"when": "editorFocus"
},
{
"key": "cmd+l",
"command": "editor.action.deleteLines",
"when": "editorFocus"
},
{
"key": "ctrl+shift+k",
"command": "-editor.action.deleteLines",
"when": "editorFocus"
},
{
"key": "ctrl+cmd+/",
"command": "editor.action.blockComment",
"when": "editorFocus"
},
{
"key": "alt+cmd+/",
"command": "-editor.action.blockComment",
"when": "editorFocus"
},
{
"key": "alt+up",
"command": "editor.emmet.action.incrementNumberByOne"
},
{
"key": "alt+cmd+up",
"command": "editor.emmet.action.incrementNumberByTen"
},
{
"key": "alt+down",
"command": "editor.emmet.action.decrementNumberByOne"
},
{
"key": "alt+cmd+down",
"command": "editor.emmet.action.decrementNumberByTen"
},
{
"key": "cmd+k cmd+l",
"command": "-editor.action.transformToLowercase",
"when": "editorTextFocus"
},
{
"key": "cmd+k cmd+u",
"command": "-editor.action.transformToUppercase",
"when": "editorTextFocus"
},
{
"key": "alt+down",
"command": "incrementor.decByOne"
},
{
"key": "ctrl+down",
"command": "-incrementor.decByOne"
},
{
"key": "alt+cmd+down",
"command": "incrementor.decByTen"
},
{
"key": "ctrl+alt+cmd+down",
"command": "-incrementor.decByTen"
},
{
"key": "alt+up",
"command": "incrementor.incByOne"
},
{
"key": "ctrl+up",
"command": "-incrementor.incByOne"
},
{
"key": "alt+cmd+up",
"command": "incrementor.incByTen"
},
{
"key": "ctrl+alt+cmd+up",
"command": "-incrementor.incByTen"
},
{
"key": "cmd+[IntlBackslash]",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+`",
"command": "-workbench.action.terminal.toggleTerminal"
},
{
"key": "cmd+space",
"command": "editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+space",
"command": "-editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+space",
"command": "toggleSuggestionDetails",
"when": "editorTextFocus && suggestWidgetVisible"
},
{
"key": "ctrl+space",
"command": "-toggleSuggestionDetails",
"when": "editorTextFocus && suggestWidgetVisible"
},
{
"key": "alt+o",
"command": "editor.action.previewDeclaration",
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "alt+f12",
"command": "-editor.action.previewDeclaration",
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "shift+cmd+o",
"command": "workbench.action.showAllSymbols"
},
{
"key": "shift+cmd+r",
"command": "-workbench.action.showAllSymbols"
},
{
"key": "shift+cmd+o",
"command": "-workbench.action.gotoSymbol"
},
{
"key": "shift+cmd+r",
"command": "editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "f2",
"command": "-editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "alt+enter",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+.",
"command": "-editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "alt+cmd+l",
"command": "editor.action.formatSelection",
"when": "editorHasSelection && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+k cmd+f",
"command": "-editor.action.formatSelection",
"when": "editorHasSelection && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+k ctrl+alt+cmd+[BracketLeft]",
"command": "-editor.foldRecursively",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+n",
"command": "explorer.newFile"
},
{
"key": "cmd+.",
"command": "editor.action.showContextMenu",
"when": "editorTextFocus"
},
{
"key": "alt+f12",
"command": "-editor.action.showContextMenu",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+`",
"command": "-workbench.action.terminal.new"
},
{
"key": "alt+cmd+enter",
"command": "intelephense.import"
},
]
{
"workbench.tree.renderIndentGuides": "none",
"editor.multiCursorModifier": "alt",
"editor.snippetSuggestions": "top",
"editor.minimap.enabled": false,
"editor.fontFamily": "Inconsolata-g",
"editor.lineNumbers": "off",
"editor.lineHeight": 29,
"explorer.openEditors.visible": 0,
"workbench.activityBar.visible": false,
"workbench.statusBar.visible": true,
"editor.matchBrackets": "never",
"editor.renderLineHighlight": "all",
"editor.occurrencesHighlight": false,
"files.trimTrailingWhitespace": true,
"files.trimFinalNewlines": true,
"path-intellisense.autoSlashAfterDirectory": true,
"window.zoomLevel": 0,
"editor.renderIndentGuides": false,
"editor.cursorBlinking": "solid",
"editor.insertSpaces": false,
"window.restoreWindows": "all",
"problems.decorations.enabled": true,
"telemetry.enableCrashReporter": false,
"telemetry.enableTelemetry": false,
"editor.renderWhitespace": "selection",
"editor.tabCompletion": "on",
"explorer.autoReveal": false,
"emmet.showSuggestionsAsSnippets": true,
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
"typescript.format.insertSpaceBeforeFunctionParenthesis": true,
"javascript.suggest.completeFunctionCalls": true,
"typescript.suggest.completeFunctionCalls": true,
"editor.parameterHints.enabled": false,
"editor.suggestFontSize": 13,
"editor.formatOnPaste": true,
"vetur.format.options.useTabs": true,
"vetur.format.options.tabSize": 4,
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"indent_size": 4,
"indent_with_tabs": true,
"wrap_attributes": "force-expand-multiline",
"wrap_attributes_indent_size": 4
}
},
"prettier.useTabs": true,
"editor.detectIndentation": false,
"php.suggest.basic": false,
"workbench.editor.enablePreviewFromQuickOpen": false,
"workbench.colorTheme": "Ayu Mirage Bordered",
"whiteviz.enabled": false,
"javascript.updateImportsOnFileMove.enabled": "always",
"breadcrumbs.enabled": false,
"editor.fontSize": 14,
"editor.renameOnType": true,
"terminal.external.osxExec": "Hyper.app",
"terminal.integrated.fontSize": 14,
"editor.tabSize": 2,
"git.autofetch": true,
"git.enableSmartCommit": true,
"liveServer.settings.donotShowInfoMsg": true,
"scm.diffDecorationsGutterVisibility": "hover",
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.formatOnSave": true,
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"editor.columnSelection": false,
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
code --install-extension ardenivanov.svelte-intellisense
code --install-extension bmewburn.vscode-intelephense-client
code --install-extension bradlc.vscode-tailwindcss
code --install-extension christian-kohler.path-intellisense
code --install-extension dbaeumer.vscode-eslint
code --install-extension dbankier.vscode-quick-select
code --install-extension dsznajder.es7-react-js-snippets
code --install-extension ecmel.vscode-html-css
code --install-extension esbenp.prettier-vscode
code --install-extension fabiospampinato.vscode-open-in-finder
code --install-extension fivethree.vscode-svelte-snippets
code --install-extension formulahendry.auto-close-tag
code --install-extension formulahendry.auto-rename-tag
code --install-extension JamesBirtles.svelte-vscode
code --install-extension joelday.docthis
code --install-extension johnpapa.Angular2
code --install-extension kevinkyang.auto-comment-blocks
code --install-extension lafe.contextualduplicate
code --install-extension MehediDracula.php-namespace-resolver
code --install-extension ms-vscode.sublime-keybindings
code --install-extension nmsmith89.incrementor
code --install-extension octref.vetur
code --install-extension onecentlin.laravel-blade
code --install-extension onecentlin.laravel5-snippets
code --install-extension pnp.polacode
code --install-extension quicktype.quicktype
code --install-extension ritwickdey.LiveServer
code --install-extension ryannaddy.laravel-artisan
code --install-extension sdras.vue-vscode-snippets
code --install-extension shd101wyy.markdown-preview-enhanced
code --install-extension sleistner.vscode-fileutils
code --install-extension spywhere.whiteviz
code --install-extension teabyii.ayu
code --install-extension xabikos.JavaScriptSnippets
code --install-extension xandeer.better-align
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment