diff --git a/config/Code/User/keybindings.json b/config/Code/User/keybindings.json index df83c80..b2c6171 100644 --- a/config/Code/User/keybindings.json +++ b/config/Code/User/keybindings.json @@ -29,5 +29,29 @@ "key": "ctrl+w", "command": "-workbench.action.closeWindow", "when": "!editorIsOpen" + }, + { + "key": "ctrl+shift+]", + "command": "editor.action.goToDeclaration", + "when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" + }, + { + "key": "f12", + "command": "-editor.action.goToDeclaration", + "when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" + }, + { + "key": "ctrl+n", + "command": "workbench.action.files.newUntitledFile" + }, + { + "key": "ctrl+\\", + "command": "workbench.action.terminal.split", + "when": "terminalFocus" + }, + { + "key": "ctrl+k ctrl+i", + "command": "editor.action.showHover", + "when": "editorTextFocus" } ] \ No newline at end of file diff --git a/config/Code/User/settings.json b/config/Code/User/settings.json index 0ddc2e4..0e5cded 100644 --- a/config/Code/User/settings.json +++ b/config/Code/User/settings.json @@ -1,11 +1,13 @@ { "terminal.integrated.shellArgs.linux": ["--login"], "terminal.integrated.shellArgs.osx": ["--login"], - "terminal.integrated.fontFamily": "'Ubuntu Mono derivative Powerline', 'Fira Code Retina:style=Retina', 'PragmataPro'", + "terminal.integrated.fontFamily": "'Ubuntu Mono derivative Powerline', 'Fira Code Retina:style=Retina', 'PragmataPro', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'", "terminal.integrated.fontSize": 14, "editor.renderWhitespace": "boundary", + "editor.formatOnType": true, + "editor.formatOnPaste": true, "editor.fontFamily": "'Fira Code Retina', 'Fira Code', 'PragmataPro'", - "editor.fontSize": 12, + "editor.fontSize": 14, "editor.codeLens": true, "editor.fontLigatures": true, "editor.hideCursorInOverviewRuler": true, @@ -13,7 +15,22 @@ "eslint.alwaysShowStatus": true, "eslint.autoFixOnSave": true, "eslint.enable": true, - "files.autoSave": "onFocusChange", + "[markdown]": { + "editor.wordWrap": "off", + "editor.quickSuggestions": { + "other": true, + "comments": false, + "strings": false + } + }, + "files.exclude": { + "**/.git": true, + "**/.svn": true, + "**/.hg": true, + "**/CVS": true, + "**/.DS_Store": true, + "**/node_modules": true + }, "git.enableCommitSigning": true, "git.autofetch": true, "git.autorefresh": true, @@ -21,14 +38,15 @@ "go.lintOnSave": "package", "go.autocompleteUnimportedPackages": false, "go.formatTool": "goreturns", - "prettier.requireConfig": true, + "prettier.eslintIntegration": true, + "prettier.tabWidth": 4, "window.openFilesInNewWindow": "on", "telemetry.enableTelemetry": false, "vim.leader": ",", "vim.surround": true, "vim.useSystemClipboard": true, "workbench.colorTheme": "Cobalt2", - "window.zoomLevel": 2, + "window.zoomLevel": 0, "workbench.activityBar.visible": true, "workbench.editor.enablePreview": false, "workbench.editor.enablePreviewFromQuickOpen": false, @@ -37,5 +55,18 @@ "[javascript]": { "editor.formatOnSave": true }, - "gitlens.keymap": "alternate" + "fs.inotify.max_user_watches":524288, + "gitlens.keymap": "alternate", + "gitlens.advanced.messages": { + "suppressCommitHasNoPreviousCommitWarning": false, + "suppressCommitNotFoundWarning": false, + "suppressFileNotUnderSourceControlWarning": false, + "suppressGitVersionWarning": false, + "suppressLineUncommittedWarning": true, + "suppressNoRepositoryWarning": false, + "suppressResultsExplorerNotice": false, + "suppressShowKeyBindingsNotice": true + }, + "gitlens.historyExplorer.enabled": true, + "gitlens.mode.active": "review", } \ No newline at end of file