diff --git a/home/dot_config/git/ignore b/home/dot_config/git/ignore index bed9c16..6c5d9f1 100644 --- a/home/dot_config/git/ignore +++ b/home/dot_config/git/ignore @@ -26,6 +26,7 @@ .tool-versions .cache .coverage +.vscode venv* htmlcov coverage.xml diff --git a/home/dot_config/private_Code/User/keybindings.json b/home/dot_config/private_Code/User/keybindings.json new file mode 100644 index 0000000..653693f --- /dev/null +++ b/home/dot_config/private_Code/User/keybindings.json @@ -0,0 +1,92 @@ +[ + { + "key": "ctrl+shift+/", + "command": "editor.action.blockComment", + "when": "editorTextFocus && !editorReadonly" + }, + { + "key": "ctrl+shift+a", + "command": "-editor.action.blockComment", + "when": "editorTextFocus && !editorReadonly" + }, + { + "key": "alt+left", + "command": "workbench.action.navigateBack", + "when": "canNavigateBack" + }, + { + "key": "ctrl+alt+-", + "command": "-workbench.action.navigateBack", + "when": "canNavigateBack" + }, + { + "key": "alt+right", + "command": "workbench.action.navigateForward", + "when": "canNavigateForward" + }, + { + "key": "ctrl+shift+-", + "command": "-workbench.action.navigateForward", + "when": "canNavigateForward" + }, + { + "key": "alt+left", + "command": "workbench.action.quickInputBack", + "when": "inQuickOpen" + }, + { + "key": "ctrl+alt+-", + "command": "-workbench.action.quickInputBack", + "when": "inQuickOpen" + }, + { + "key": "ctrl+shift+tab", + "command": "workbench.action.focusLeftGroup" + }, + { + "key": "ctrl+k ctrl+left", + "command": "-workbench.action.focusLeftGroup" + }, + { + "key": "ctrl+tab", + "command": "workbench.action.focusRightGroup" + }, + { + "key": "ctrl+k ctrl+right", + "command": "-workbench.action.focusRightGroup" + }, + { + "key": "ctrl+c ctrl+t", + "command": "editor.action.transformToTitlecase" + }, + { + "key": "ctrl+c ctrl+l", + "command": "editor.action.transformToLowercase" + }, + { + "key": "ctrl+c ctrl+u", + "command": "editor.action.transformToUppercase" + }, + { + "key": "ctrl+c ctrl+s", + "command": "editor.action.transformToSnakecase" + }, + { + "key": "ctrl+c ctrl+k", + "command": "editor.action.transformToKebabcase" + }, + { + "key": "ctrl+c ctrl+c", + "command": "editor.action.transformToCamelcase" + }, + { + "key": "ctrl+shift+alt+meta+enter", + "command": "github.copilot.generate", + "when": "editorTextFocus && github.copilot.activated && !inInteractiveInput && !interactiveEditorFocused" + }, + { + "key": "ctrl+enter", + "command": "-github.copilot.generate", + "when": "editorTextFocus && github.copilot.activated && !inInteractiveInput && !interactiveEditorFocused" + } +] diff --git a/home/dot_config/private_Code/User/settings.json b/home/dot_config/private_Code/User/settings.json new file mode 100644 index 0000000..fe4675e --- /dev/null +++ b/home/dot_config/private_Code/User/settings.json @@ -0,0 +1,183 @@ +{ + "[rust]": { + "editor.defaultFormatter": "rust-lang.rust-analyzer" + }, + "breadcrumbs.symbolPath": "last", + "clangd.checkUpdates": true, + "code-runner.enableAppInsights": false, + "cppref.invertColorInDarkTheme": true, + "cppref.searchEngine": "Google", + "debug.autoExpandLazyVariables": true, + "debug.console.fontSize": 15, + "editor.accessibilitySupport": "off", + "editor.bracketPairColorization.enabled": true, + "editor.cursorBlinking": "phase", + "editor.cursorSmoothCaretAnimation": "on", + "editor.cursorSurroundingLines": 90, + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.fontFamily": "Jetbrains mono", + "editor.fontLigatures": true, + "editor.fontSize": 15, + "editor.fontWeight": "normal", + "editor.formatOnPaste": true, + "editor.formatOnSave": true, + "editor.formatOnSaveMode": "modificationsIfAvailable", + "editor.gotoLocation.alternativeDeclarationCommand": "editor.action.goToImplementation", + "editor.gotoLocation.alternativeDefinitionCommand": "editor.action.goToImplementation", + "editor.gotoLocation.alternativeImplementationCommand": "editor.action.goToImplementation", + "editor.gotoLocation.alternativeReferenceCommand": "editor.action.goToImplementation", + "editor.gotoLocation.alternativeTypeDefinitionCommand": "editor.action.goToImplementation", + "editor.gotoLocation.multipleDeclarations": "goto", + "editor.gotoLocation.multipleDefinitions": "goto", + "editor.gotoLocation.multipleImplementations": "goto", + "editor.gotoLocation.multipleReferences": "goto", + "editor.gotoLocation.multipleTypeDefinitions": "goto", + "editor.guides.bracketPairs": "active", + "editor.inlineSuggest.enabled": true, + "editor.insertSpaces": true, + "editor.lineHeight": 1.6, + "editor.lineNumbers": "on", + "editor.linkedEditing": true, + "editor.minimap.autohide": true, + "editor.minimap.enabled": true, + "editor.minimap.maxColumn": 80, + "editor.minimap.renderCharacters": false, + "editor.minimap.showSlider": "always", + "editor.renderLineHighlight": "all", + "editor.renderWhitespace": "boundary", + "editor.showFoldingControls": "always", + "editor.smoothScrolling": true, + "editor.suggestSelection": "first", + "editor.tabSize": 4, + "errorLens.borderRadius": "5px", + "errorLens.delay": 200, + "errorLens.followCursor": "allLinesExceptActive", + "errorLens.fontFamily": "Jetbrains mono", + "errorLens.fontSize": "15px", + "errorLens.fontWeight": "normal", + "errorLens.gutterIconSet": "borderless", + "errorLens.gutterIconSize": "80%", + "errorLens.messageBackgroundMode": "message", + "errorLens.padding": "2", + "errorLens.statusBarColorsEnabled": true, + "errorLens.statusBarMessageEnabled": true, + "explorer.confirmDragAndDrop": false, + "explorer.fileNesting.patterns": { + "go.mod": "go.sum", + "pyproject.toml": "poetry.lock" + }, + "explorer.openEditors.visible": 0, + "explorer.sortOrder": "default", + "files.autoSave": "afterDelay", + "files.hotExit": "onExitAndWindowClose", + "files.insertFinalNewline": true, + "files.trimFinalNewlines": true, + "files.trimTrailingWhitespace": true, + "git.allowForcePush": true, + "git.allowNoVerifyCommit": true, + "git.alwaysShowStagedChangesResourceGroup": true, + "git.alwaysSignOff": true, + "git.autoStash": true, + "git.autofetch": "all", + "git.enableCommitSigning": true, + "git.pullBeforeCheckout": true, + "git.rebaseWhenSync": true, + "git.useCommitInputAsStashMessage": true, + "github.copilot.enable": { + "*": true, + "plaintext": true, + "markdown": false, + "scminput": false + }, + "github.copilot.inlineSuggest.enable": true, + "github.gitProtocol": "ssh", + "gitlens.hovers.avatars": false, + "gitlens.hovers.currentLine.over": "line", + "gitlens.statusBar.enabled": false, + "gitlens.telemetry.enabled": false, + "html.autoClosingTags": true, + "interactiveSession.editor.fontSize": 15, + "javascript.autoClosingTags": true, + "javascript.suggest.autoImports": true, + "javascript.suggest.paths": false, + "javascript.updateImportsOnFileMove.enabled": "always", + "liveServer.settings.CustomBrowser": "firefox:PrivateMode", + "liveServer.settings.fullReload": true, + "liveServer.settings.showOnStatusbar": false, + "mypy-type-checker.importStrategy": "fromEnvironment", + "prettier.printWidth": 80, + "prettier.singleQuote": true, + "prettier.tabWidth": 2, + "python.analysis.autoImportCompletions": true, + "python.analysis.completeFunctionParens": true, + "python.analysis.importFormat": "absolute", + "python.analysis.inlayHints.functionReturnTypes": true, + "python.analysis.typeCheckingMode": "strict", + "python.formatting.blackArgs": ["-l 79"], + "python.formatting.provider": "black", + "python.linting.enabled": true, + "python.linting.mypyEnabled": true, + "python.terminal.activateEnvInCurrentTerminal": true, + "python.terminal.focusAfterLaunch": true, + "scm.diffDecorationsGutterPattern": { + "added": true + }, + "scm.diffDecorationsGutterWidth": 1, + "screencastMode.verticalOffset": 90, + "search.smartCase": true, + "search.sortOrder": "modified", + "search.useGlobalIgnoreFiles": true, + "search.useParentIgnoreFiles": true, + "security.workspace.trust.untrustedFiles": "open", + "telemetry.telemetryLevel": "off", + "terminal.integrated.commandsToSkipShell": [ + "workbench.action.focusLeftGroup", + "workbench.action.focusRightGroup" + ], + "terminal.integrated.cursorBlinking": true, + "terminal.integrated.cursorStyle": "line", + "terminal.integrated.cursorWidth": 2, + "terminal.integrated.defaultLocation": "editor", + "terminal.integrated.defaultProfile.linux": "fish", + "terminal.integrated.fontSize": 15, + "terminal.integrated.ignoreProcessNames": [ + "starship", + "oh-my-posh", + "bash", + "zsh", + "fish" + ], + "terminal.integrated.shellIntegration.history": 1000, + "terminal.integrated.shellIntegration.suggestEnabled": true, + "terminal.integrated.smoothScrolling": true, + "terminal.integrated.tabs.focusMode": "singleClick", + "terminal.integrated.tabs.hideCondition": "never", + "terminal.integrated.tabs.title": "${sequence}", + "typescript.autoClosingTags": true, + "typescript.referencesCodeLens.enabled": true, + "typescript.suggest.autoImports": true, + "typescript.suggest.paths": false, + "typescript.updateImportsOnFileMove.enabled": "always", + "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", + "window.autoDetectColorScheme": true, + "window.menuBarVisibility": "hidden", + "window.restoreFullscreen": false, + "window.title": "${activeEditorMedium}${separator}${rootName}", + "window.zoomLevel": 2, + "workbench.activityBar.visible": false, + "workbench.editor.enablePreview": false, + "workbench.editor.highlightModifiedTabs": true, + "workbench.editor.revealIfOpen": true, + "workbench.editor.showTabs": false, + "workbench.iconTheme": "material-icon-theme", + "workbench.layoutControl.enabled": false, + "workbench.list.smoothScrolling": true, + "workbench.settings.editor": "ui", + "workbench.settings.enableNaturalLanguageSearch": false, + "workbench.settings.useSplitJSON": false, + "workbench.sideBar.location": "left", + "workbench.startupEditor": "none", + "workbench.tree.indent": 20, + "workbench.tree.renderIndentGuides": "always", + "zenMode.hideLineNumbers": false +} diff --git a/home/dot_config/private_fish/config.fish b/home/dot_config/private_fish/config.fish index fae3e5f..b6d3c4e 100644 --- a/home/dot_config/private_fish/config.fish +++ b/home/dot_config/private_fish/config.fish @@ -11,6 +11,9 @@ source ~/.asdf/asdf.fish # java source ~/.asdf/plugins/java/set-java-home.fish +# vscode +string match -q "$TERM_PROGRAM" vscode and . (code --locate-shell-integration-path fish) + # better cd zoxide init fish --no-aliases | source @@ -22,3 +25,6 @@ direnv hook fish | source # pack source (pack completion --shell fish) + +# Created by `pipx` on 2023-02-11 22:10:49 +set PATH $PATH /home/lkucera/.local/bin