Last active
April 26, 2025 17:42
-
-
Save rdenadai/fbc1c0be0af19c7f5428b9e0dceb9122 to your computer and use it in GitHub Desktop.
settings for python development
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unbind r | |
bind r source-file ~/.tmux.conf | |
set -g prefix C-s | |
set -g mouse on | |
setw -g mode-keys vi | |
set-option -s set-clipboard off | |
bind P paste-buffer | |
bind-key -T copy-mode-vi v send-keys -X begin-selection | |
bind-key -T copy-mode-vi y send-keys -X rectangle-toggle | |
unbind -T copy-mode-vi Enter | |
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel 'xclip -se c -i' | |
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'xclip -se c -i' | |
# Splitting terminals using | and - | |
unbind '"' | |
bind | split-window -h | |
unbind % | |
bind - split-window -v | |
bind-key J resize-pane -D 5 | |
bind-key K resize-pane -U 4 | |
bind-key H resize-pane -L 5 | |
bind-key L resize-pane -R 5 | |
# only this line might not be enough | |
set -g default-terminal "xterm-256color" | |
# Needs this line also to overrides the default color | |
set-option -ga terminal-overrides ",xterm-256color:Tc" | |
# Bind zsh (oh-my-zsh) as default shell | |
# set-option -g default-shell /bin/zsh | |
# Status bar | |
set-option -g status-position top | |
# Cattppucin theme | |
set -g @catppuccin_window_left_separator "" | |
set -g @catppuccin_window_right_separator " " | |
set -g @catppuccin_window_middle_separator " █" | |
set -g @catppuccin_window_number_position "right" | |
set -g @catppuccin_window_default_fill "number" | |
set -g @catppuccin_window_default_text "#W" | |
set -g @catppuccin_window_current_fill "number" | |
set -g @catppuccin_window_current_text "#W" | |
set -g @catppuccin_status_modules_right "directory session" | |
set -g @catppuccin_status_left_separator " " | |
set -g @catppuccin_status_right_separator "" | |
set -g @catppuccin_status_right_separator_inverse "no" | |
set -g @catppuccin_status_fill "icon" | |
set -g @catppuccin_status_connect_separator "no" | |
set -g @catppuccin_directory_text "#{pane_current_path}" | |
# List of plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'catppuccin/tmux' | |
# Initialize TMUX plugin manager (keep this line :w!at the very bottom of tmux.conf) | |
run '~/.tmux/plugins/tpm/tpm' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to override the defaultsauto[] | |
[ | |
{ | |
"key": "alt+q", | |
"command": "workbench.action.terminal.toggleTerminal", | |
"when": "terminal.active" | |
}, | |
{ | |
"key": "ctrl+shift+[BracketLeft]", | |
"command": "-workbench.action.terminal.toggleTerminal", | |
"when": "terminal.active" | |
}, | |
{ | |
"key": "alt+s", | |
"command": "workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "ctrl+b", | |
"command": "-workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "alt+a", | |
"command": "workbench.view.explorer", | |
"when": "viewContainer.workbench.view.explorer.enabled" | |
}, | |
{ | |
"key": "ctrl+shift+e", | |
"command": "-workbench.view.explorer", | |
"when": "viewContainer.workbench.view.explorer.enabled" | |
}, | |
{ | |
"key": "alt+d", | |
"command": "workbench.view.debug", | |
"when": "viewContainer.workbench.view.debug.enabled" | |
}, | |
{ | |
"key": "ctrl+shift+d", | |
"command": "-workbench.view.debug", | |
"when": "viewContainer.workbench.view.debug.enabled" | |
}, | |
{ | |
"key": "alt+right", | |
"command": "cursorWordPartRight" | |
}, | |
{ | |
"key": "alt+left", | |
"command": "cursorWordPartLeft" | |
}, | |
{ | |
"key": "ctrl+k v", | |
"command": "workbench.action.terminal.focusTabs", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported || terminalHasBeenCreated && terminalTabsFocus || terminalProcessSupported && terminalTabsFocus" | |
}, | |
{ | |
"key": "ctrl+shift+\\", | |
"command": "-workbench.action.terminal.focusTabs", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported || terminalHasBeenCreated && terminalTabsFocus || terminalProcessSupported && terminalTabsFocus" | |
}, | |
{ | |
"key": "ctrl+shift+up", | |
"command": "workbench.action.terminal.resizePaneUp" | |
}, | |
{ | |
"key": "ctrl+shift+down", | |
"command": "workbench.action.terminal.resizePaneDown" | |
}, | |
{ | |
"key": "ctrl+k a", | |
"command": "explorer.newFile" | |
}, | |
{ | |
"key": "ctrl+k f", | |
"command": "explorer.newFolder" | |
}, | |
{ | |
"key": "alt+f", | |
"command": "workbench.panel.chat.view.copilot.focus" | |
}, | |
{ | |
"key": "ctrl+k w", | |
"command": "workbench.action.terminal.new", | |
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile" | |
}, | |
{ | |
"key": "ctrl+shift+`", | |
"command": "-workbench.action.terminal.new", | |
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile" | |
}, | |
{ | |
"key": "ctrl+k i", | |
"command": "editor.action.goToImplementation", | |
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "ctrl+f12", | |
"command": "-editor.action.goToImplementation", | |
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "ctrl+k d", | |
"command": "editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "f12", | |
"command": "-editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "ctrl+k g", | |
"command": "editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+k", | |
"command": "-editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+pagedown", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "ctrl+pagedown", | |
"command": "-workbench.action.nextEditor" | |
}, | |
{ | |
"key": "ctrl+k l", | |
"command": "workbench.action.focusActivityBar" | |
}, | |
{ | |
"key": "ctrl+k j", | |
"command": "workbench.action.toggleActivityBarVisibility" | |
}, | |
{ | |
"key": "ctrl+k right", | |
"command": "workbench.action.terminal.focusNextPane", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "alt+down", | |
"command": "-workbench.action.terminal.focusNextPane", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+k left", | |
"command": "workbench.action.terminal.focusPreviousPane", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "-workbench.action.terminal.focusPreviousPane", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+k c", | |
"command": "workbench.output.action.clearOutput" | |
}, | |
{ | |
"key": "ctrl+k h", | |
"command": "editor.action.showDefinitionPreviewHover" | |
}, | |
{ | |
"key": "ctrl+k b", | |
"command": "editor.debug.action.toggleInlineBreakpoint", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+f9", | |
"command": "-editor.debug.action.toggleInlineBreakpoint", | |
"when": "editorTextFocus" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
command_timeout = 2000 | |
[aws] | |
format = '\[[$symbol($profile)(\($region\))(\[$duration\])]($style)\]' | |
[bun] | |
format = '\[[$symbol($version)]($style)\]' | |
[c] | |
format = '\[[$symbol($version(-$name))]($style)\]' | |
[cmake] | |
format = '\[[$symbol($version)]($style)\]' | |
[cmd_duration] | |
format = '\[[⏱ $duration]($style)\]' | |
[cobol] | |
format = '\[[$symbol($version)]($style)\]' | |
[conda] | |
format = '\[[$symbol$environment]($style)\]' | |
[crystal] | |
format = '\[[$symbol($version)]($style)\]' | |
[daml] | |
format = '\[[$symbol($version)]($style)\]' | |
[dart] | |
format = '\[[$symbol($version)]($style)\]' | |
[deno] | |
format = '\[[$symbol($version)]($style)\]' | |
[docker_context] | |
format = '\[[$symbol$context]($style)\]' | |
[dotnet] | |
format = '\[[$symbol($version)(🎯 $tfm)]($style)\]' | |
[elixir] | |
format = '\[[$symbol($version \(OTP $otp_version\))]($style)\]' | |
[elm] | |
format = '\[[$symbol($version)]($style)\]' | |
[erlang] | |
format = '\[[$symbol($version)]($style)\]' | |
[fennel] | |
format = '\[[$symbol($version)]($style)\]' | |
[fossil_branch] | |
format = '\[[$symbol$branch]($style)\]' | |
[gcloud] | |
format = '\[[$symbol$account(@$domain)(\($region\))]($style)\]' | |
[git_branch] | |
format = '\[[$symbol$branch]($style)\]' | |
[git_status] | |
format = '([\[$all_status$ahead_behind\]]($style))' | |
[golang] | |
format = '\[[$symbol($version)]($style)\]' | |
[gradle] | |
format = '\[[$symbol($version)]($style)\]' | |
[guix_shell] | |
format = '\[[$symbol]($style)\]' | |
[haskell] | |
format = '\[[$symbol($version)]($style)\]' | |
[haxe] | |
format = '\[[$symbol($version)]($style)\]' | |
[helm] | |
format = '\[[$symbol($version)]($style)\]' | |
[hg_branch] | |
format = '\[[$symbol$branch]($style)\]' | |
[java] | |
format = '\[[$symbol($version)]($style)\]' | |
[julia] | |
format = '\[[$symbol($version)]($style)\]' | |
[kotlin] | |
format = '\[[$symbol($version)]($style)\]' | |
[kubernetes] | |
format = '\[[$symbol$context( \($namespace\))]($style)\]' | |
[lua] | |
format = '\[[$symbol($version)]($style)\]' | |
[memory_usage] | |
format = '\[$symbol[$ram( | $swap)]($style)\]' | |
[meson] | |
format = '\[[$symbol$project]($style)\]' | |
[nim] | |
format = '\[[$symbol($version)]($style)\]' | |
[nix_shell] | |
format = '\[[$symbol$state( \($name\))]($style)\]' | |
[nodejs] | |
format = '\[[$symbol($version)]($style)\]' | |
[ocaml] | |
format = '\[[$symbol($version)(\($switch_indicator$switch_name\))]($style)\]' | |
[opa] | |
format = '\[[$symbol($version)]($style)\]' | |
[openstack] | |
format = '\[[$symbol$cloud(\($project\))]($style)\]' | |
[os] | |
format = '\[[$symbol]($style)\]' | |
[package] | |
format = '\[[$symbol$version]($style)\]' | |
[perl] | |
format = '\[[$symbol($version)]($style)\]' | |
[php] | |
format = '\[[$symbol($version)]($style)\]' | |
[pijul_channel] | |
format = '\[[$symbol$channel]($style)\]' | |
[pulumi] | |
format = '\[[$symbol$stack]($style)\]' | |
[purescript] | |
format = '\[[$symbol($version)]($style)\]' | |
[python] | |
format = '\[[${symbol}${pyenv_prefix}(${version})(\($virtualenv\))]($style)\]' | |
[raku] | |
format = '\[[$symbol($version-$vm_version)]($style)\]' | |
[red] | |
format = '\[[$symbol($version)]($style)\]' | |
[ruby] | |
format = '\[[$symbol($version)]($style)\]' | |
[rust] | |
format = '\[[$symbol($version)]($style)\]' | |
[scala] | |
format = '\[[$symbol($version)]($style)\]' | |
[spack] | |
format = '\[[$symbol$environment]($style)\]' | |
[sudo] | |
format = '\[[as $symbol]($style)\]' | |
[swift] | |
format = '\[[$symbol($version)]($style)\]' | |
[terraform] | |
format = '\[[$symbol$workspace]($style)\]' | |
[time] | |
format = '\[[$time]($style)\]' | |
[username] | |
format = '\[[$user]($style)\]' | |
[vagrant] | |
format = '\[[$symbol($version)]($style)\]' | |
[vlang] | |
format = '\[[$symbol($version)]($style)\]' | |
[zig] | |
format = '\[[$symbol($version)]($style)\]' | |
[solidity] | |
format = '\[[$symbol($version)]($style)\]' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
code --install-extension amazonwebservices.aws-toolkit-vscode | |
code --install-extension bungcip.better-toml | |
code --install-extension charliermarsh.ruff | |
code --install-extension dbaeumer.vscode-eslint | |
code --install-extension dracula-theme.theme-dracula | |
code --install-extension eamodio.gitlens | |
code --install-extension esbenp.prettier-vscode | |
code --install-extension formulahendry.code-runner | |
code --install-extension GitHub.copilot-chat | |
code --install-extension GitHub.copilot-nightly | |
code --install-extension ms-azuretools.vscode-docker | |
code --install-extension ms-python.black-formatter | |
code --install-extension ms-python.flake8 | |
code --install-extension ms-python.isort | |
code --install-extension ms-python.pylint | |
code --install-extension ms-python.python | |
code --install-extension ms-python.vscode-pylance | |
code --install-extension ms-toolsai.jupyter | |
code --install-extension ms-toolsai.jupyter-keymap | |
code --install-extension ms-toolsai.jupyter-renderers | |
code --install-extension ms-toolsai.vscode-jupyter-cell-tags | |
code --install-extension ms-toolsai.vscode-jupyter-slideshow | |
code --install-extension ms-vscode-remote.remote-containers | |
code --install-extension njpwerner.autodocstring | |
code --install-extension oderwat.indent-rainbow | |
code --install-extension PKief.material-icon-theme | |
code --install-extension redhat.vscode-xml | |
code --install-extension redhat.vscode-yaml | |
code --install-extension rust-lang.rust-analyzer | |
code --install-extension SonarSource.sonarlint-vscode | |
code --install-extension Vue.volar | |
code --install-extension Vue.vscode-typescript-vue-plugin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"indentRainbow.colors": [ | |
"rgba(148,0,211,0.1)", | |
"rgba(75,0,130,0.1)", | |
"rgba(0,0,255,0.1)", | |
"rgba(0,255,0,0.1)", | |
"rgba(255,255,0,0.1)", | |
"rgba(255,127,0,0.1)", | |
"rgba(255,0,0,0.1)" | |
], | |
"indentRainbow.excludedLanguages": ["plaintext", "markdown"], | |
"editor.minimap.enabled": false, | |
"editor.minimap.renderCharacters": false, | |
"editor.minimap.maxColumn": 90, | |
"editor.minimap.scale": 3, | |
"workbench.colorTheme": "Catppuccin Mocha", | |
"workbench.colorCustomizations": { | |
"editorRuler.foreground": "#ff4081", | |
"editor.background": "#212", | |
"sideBar.background": "#212", | |
"terminal.background": "#212", | |
"panel.background": "#212" | |
}, | |
"editor.stickyScroll.enabled": true, | |
"editor.semanticHighlighting.enabled": false, | |
"editor.fontFamily": "Fira Code SemiBold", | |
"terminal.integrated.fontFamily": "Fira Code SemiBold", | |
"editor.fontSize": 14, | |
"editor.fontLigatures": true, | |
"editor.fontWeight": "450", | |
"editor.letterSpacing": 0.6, | |
"editor.lineHeight": 1.6, | |
"editor.rulers": [120], | |
"editor.wordWrap": "wordWrapColumn", | |
"editor.wordWrapColumn": 120, | |
"workbench.editor.highlightModifiedTabs": true, | |
"editor.cursorStyle": "block", | |
"editor.cursorBlinking": "smooth", | |
"files.trimFinalNewlines": true, | |
"editor.linkedEditing": true, | |
"workbench.tree.indent": 25, | |
"editor.suggestSelection": "first", | |
"mypy-type-checker.importStrategy": "fromEnvironment", | |
"ruff.lineLength": 120, | |
"ruff.organizeImports": true, | |
"ruff.interpreter": ["/home/rdenadai/.pyenv/versions/3.12.8/bin/python"], | |
"python.analysis.inlayHints.callArgumentNames": "all", | |
"python.analysis.inlayHints.functionReturnTypes": true, | |
"python.analysis.inlayHints.pytestParameters": true, | |
"python.analysis.inlayHints.variableTypes": true, | |
"vue.inlayHints.inlineHandlerLeading": true, | |
"python.defaultInterpreterPath": "/home/rdenadai/.pyenv/versions/3.12.8/bin/python", | |
"vue.inlayHints.missingProps": true, | |
"vue.inlayHints.optionsWrapper": true, | |
"javascript.inlayHints.functionLikeReturnTypes.enabled": true, | |
"javascript.inlayHints.parameterNames.enabled": "all", | |
"javascript.inlayHints.propertyDeclarationTypes.enabled": true, | |
"javascript.inlayHints.variableTypes.enabled": true, | |
"editor.inlayHints.fontFamily": "Fira Code Retina", | |
"vue.features.codeActions.savingTimeLimit": 3000, | |
"editor.formatOnSave": true, | |
"editor.indentSize": "tabSize", | |
"[vue]": { | |
"editor.tabSize": 2, | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.inlayHints.enabled": "offUnlessPressed" | |
}, | |
"[html]": { | |
"editor.tabSize": 2, | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[css]": { | |
"editor.tabSize": 2, | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[javascript]": { | |
"editor.tabSize": 2, | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.inlayHints.enabled": "offUnlessPressed" | |
}, | |
"[python]": { | |
"editor.tabSize": 4, | |
"editor.codeActionsOnSave": { | |
"source.fixAll": "explicit", | |
"source.organizeImports": "explicit" | |
}, | |
"editor.defaultFormatter": "charliermarsh.ruff", | |
"editor.inlayHints.enabled": "offUnlessPressed" | |
}, | |
"[rust]": { | |
"editor.tabSize": 4, | |
"editor.inlayHints.enabled": "offUnlessPressed" | |
}, | |
"[ocaml]": { | |
"editor.tabSize": 2, | |
"editor.inlayHints.enabled": "offUnlessPressed" | |
}, | |
"[jsonc]": { | |
"editor.tabSize": 2, | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[markdown]": { | |
"editor.wordWrap": "wordWrapColumn" | |
}, | |
"json.schemas": [], | |
"yaml.customTags": [ | |
"!And", | |
"!And sequence", | |
"!If", | |
"!If sequence", | |
"!Not", | |
"!Not sequence", | |
"!Equals", | |
"!Equals sequence", | |
"!Or", | |
"!Or sequence", | |
"!FindInMap", | |
"!FindInMap sequence", | |
"!Base64", | |
"!Join", | |
"!Join sequence", | |
"!Cidr", | |
"!Ref", | |
"!Sub", | |
"!Sub sequence", | |
"!GetAtt", | |
"!GetAZs", | |
"!ImportValue", | |
"!ImportValue sequence", | |
"!Select", | |
"!Select sequence", | |
"!Split", | |
"!Split sequence" | |
], | |
"redhat.telemetry.enabled": true, | |
"aws.onDefaultRegionMissing": "add", | |
"aws.resources.enabledResources": [], | |
"go.toolsManagement.autoUpdate": true, | |
"emmet.includeLanguages": {}, | |
"emmet.showSuggestionsAsSnippets": true, | |
"emmet.showExpandedAbbreviation": "inMarkupAndStylesheetFilesOnly", | |
"emmet.triggerExpansionOnTab": true, | |
"git.autofetch": true, | |
"editor.suggest.showMethods": true, | |
"editor.suggest.preview": true, | |
"editor.acceptSuggestionOnEnter": "on", | |
"editor.snippetSuggestions": "top", | |
"workbench.editorAssociations": { | |
"*.html": "default" | |
}, | |
"editor.inlineSuggest.enabled": true, | |
"jupyter.widgetScriptSources": ["jsdelivr.com", "unpkg.com"], | |
"workbench.iconTheme": "material-icon-theme", | |
"git.openRepositoryInParentFolders": "never", | |
"github.copilot.advanced": {}, | |
"aws.suppressPrompts": { | |
"codeWhispererConnectionExpired": true | |
}, | |
"security.workspace.trust.untrustedFiles": "open", | |
"github.copilot.enable": { | |
"*": true, | |
"plaintext": true, | |
"markdown": true, | |
"scminput": false | |
}, | |
"diffEditor.hideUnchangedRegions.enabled": true, | |
"editor.codeActionsOnSave": {}, | |
"editor.formatOnType": true, | |
"breadcrumbs.enabled": false, | |
"telemetry.telemetryLevel": "crash", | |
"window.menuBarVisibility": "toggle", | |
"window.zoomLevel": 1, | |
"terminal.integrated.tabs.enabled": false, | |
"workbench.editor.enablePreview": false, | |
"terminal.integrated.stickyScroll.enabled": false, | |
"editor.folding": false, | |
"workbench.welcomePage.enabled": false, | |
"workbench.startupEditor": "newUntitledFile", | |
"workbench.sideBar.location": "right", | |
"terminal.integrated.defaultProfile.linux": "tmux", | |
"githubPullRequests.pullBranch": "never", | |
"[json]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"vue.server.hybridMode": false, | |
"extensions.trustedPublishers": [ | |
"amazonwebservices", | |
"bradlc", | |
"catppuccin", | |
"charliermarsh", | |
"dracula-theme", | |
"eamodio", | |
"esbenp", | |
"formulahendry", | |
"njpwerner", | |
"ocamllabs", | |
"oderwat", | |
"pkief", | |
"redhat", | |
"rust-lang", | |
"tamasfe", | |
"vue", | |
"yzane" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
noice