Skip to content

Instantly share code, notes, and snippets.

@Eyakub
Last active November 30, 2023 22:00
Show Gist options
  • Save Eyakub/72ca81e97c14e92a9878064594d6fefe to your computer and use it in GitHub Desktop.
Save Eyakub/72ca81e97c14e92a9878064594d6fefe to your computer and use it in GitHub Desktop.
{
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Community Material Theme Ocean",
"workbench.startupEditor": "newUntitledFile",
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"liveServer.settings.donotShowInfoMsg": true,
"python.jediEnabled": false,
"terminal.integrated.inheritEnv": false,
//terminal
"terminal.integrated.fontSize": 16,
"terminal.integrated.fontWeight": "normal",
"terminal.integrated.fontFamily": "Fira Code, Operator Mono",
"workbench.colorCustomizations": {
"[Material Theme Darker]": {
"activityBarBadge.background": "#388E3C",
"activityBar.activeBorder": "#388E3C",
"list.activeSelectionForeground": "#388E3C",
"list.inactiveSelectionForeground": "#388E3C",
"list.highlightForeground": "#388E3C",
"scrollbarSlider.activeBackground": "#388E3C50",
"editorSuggestWidget.highlightForeground": "#388E3C",
"textLink.foreground": "#388E3C",
"progressBar.background": "#388E3C",
"pickerGroup.foreground": "#388E3C",
"tab.activeBorder": "#388E3C",
"notificationLink.foreground": "#388E3C",
"editorWidget.resizeBorder": "#388E3C",
"editorWidget.border": "#388E3C",
"settings.modifiedItemIndicator": "#388E3C",
"settings.headerForeground": "#388E3C",
"panelTitle.activeBorder": "#388E3C",
"breadcrumb.activeSelectionForeground": "#388E3C",
"menu.selectionForeground": "#388E3C",
"menubar.selectionForeground": "#388E3C",
"editor.findMatchBorder": "#388E3C",
"selection.background": "#388E3C40",
"statusBarItem.remoteBackground": "#388E3C"
},
"terminal.background": "#1D2021",
"terminal.foreground": "#A89984",
"terminalCursor.background": "#A89984",
"terminalCursor.foreground": "#A89984",
"terminal.ansiBlack": "#1D2021",
"terminal.ansiBlue": "#0D6678",
"terminal.ansiBrightBlack": "#665C54",
"terminal.ansiBrightBlue": "#0D6678",
"terminal.ansiBrightCyan": "#8BA59B",
"terminal.ansiBrightGreen": "#95C085",
"terminal.ansiBrightMagenta": "#8F4673",
"terminal.ansiBrightRed": "#FB543F",
"terminal.ansiBrightWhite": "#FDF4C1",
"terminal.ansiBrightYellow": "#FAC03B",
"terminal.ansiCyan": "#8BA59B",
"terminal.ansiGreen": "#95C085",
"terminal.ansiMagenta": "#8F4673",
"terminal.ansiRed": "#FB543F",
"terminal.ansiWhite": "#A89984",
"terminal.ansiYellow": "#FAC03B"
},
"materialTheme.accent": "Breaking Bad",
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.formatOnSave": false,
"editor.defaultFormatter": null
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"vsicons.dontShowNewVersionMessage": true,
"beautify.language": {
"html": ["django-html"]
},
"[django-html]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"workbench.sideBar.location": "left",
"editor.minimap.enabled": false,
"editor.fontFamily": "Fira Code, Operator Mono",
"editor.fontLigatures": true,
"python.formatting.provider": "autopep8",
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook"
},
"editor.wordWrap": "on",
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "comment",
"settings": {
"fontStyle": "italic"
}
}
]
},
"editor.formatOnSave": true,
"prettier.requireConfig": true,
"[javascriptreact]": {
// "editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": false,
"editor.defaultFormatter": null
},
"C_Cpp.updateChannel": "Insiders",
//cursor
"editor.cursorSmoothCaretAnimation": "on",
"editor.cursorBlinking": "expand",
// config related to code formatting
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.tslint": true
// "source.organizeImports": true
},
"eslint.alwaysShowStatus": true,
"workbench.colorTheme": "Night Owl",
"window.zoomLevel": -0.5,
"tabnine.experimentalAutoImports": true,
"notebook.cellToolbarLocation": {
"default": "right",
"jupyter-notebook": "left"
},
"python.languageServer": "Default",
"editor.inlineSuggest.enabled": true,
"github.copilot.enable": {
"*": true,
"yaml": false,
"plaintext": false,
"markdown": false,
"python": false
},
"material-icon-theme.folders.theme": "classic",
"security.workspace.trust.untrustedFiles": "open",
"go.toolsManagement.autoUpdate": true,
"[python]": {
"editor.defaultFormatter": "ms-python.python",
"editor.formatOnType": true
},
"[c]": {
"editor.defaultFormatter": "ms-vscode.cpptools"
},
"terminal.integrated.enableMultiLinePasteWarning": false,
"CodeGPT.model": "gpt-4",
"remote.SSH.remotePlatform": {
"104.161.21.100": "linux"
}
}
{
"files.associations": {
"**/*.html": "html",
"**/templates/**/*.html": "django-html",
"**/templates/**/*": "django-txt",
"**/requirements{/**,*}.{txt,in}": "pip-requirements"
},
"emmet.includeLanguages": {
"django-html": "html",
"html": "django-html"
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features",
"editor.tabSize": 2,
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.tabSize": 2,
},
"javascript.updateImportsOnFileMove.enabled": "always",
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"editor.codeActionsOnSave": null,
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"editor.fontFamily": "Consolas, 'Courier New', monospace",
"editor.fontSize": 15,
"editor.fontLigatures": true,
"liveServer.settings.CustomBrowser": "microsoft-edge",
"liveServer.settings.ChromeDebuggingAttachment": false,
"python.dataScience.textOutputLimit": 0,
}
/**** next part ****/
{
"python.pythonPath": "venv\python",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"python.formatting.provider": "autopep8",
"python.formatting.autopep8Path": "venv\autopep8",
"python.formatting.autopep8Args": [
"--max-line-length",
"70",
"--aggressive",
],
"python.linting.lintOnSave": true,
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.linting.pylintPath": "venv\pylint",
"python.linting.pylintArgs": [
"--load-plugins",
"pylint_django", // only if you are using django framework
"--enable=W0614",
"--enable= W0611"
],
"[python]": {
"editor.tabSize": 4
},
}
# Set vi key bindings mode
set -g mode-keys vi
set -g status-keys vi
# C-b is not acceptable -- Vim uses it
set-option -g prefix C-a
bind-key C-a last-window
## Use vim keybindings in copy mode
set-option -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'
# Set new panes to open in current directory
bind c new-window -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'dracula/tmux'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'CrispyConductor/tmux-copy-toolkit'
set -g @plugin 'Morantron/tmux-fingers'
# Config Dracula Theme
set -g @dracula-show-fahrenheit false
set -g @dracula-show-powerline true
set -g @dracula-show-network false
set -g @dracula-show-left-icon session
set -g @dracula-cpu-usage true
set -g @dracula-ram-usage true
set -g @dracula-day-month true
set -g @dracula-military-time true
set -g @dracula-show-flags true
######################
### DESIGN CHANGES ###
######################
# loud or quiet?
set -g visual-activity off
set -g visual-bell off
set -g visual-silence off
setw -g monitor-activity off
set -g bell-action none
# modes
setw -g clock-mode-colour colour5
setw -g mode-style 'fg=colour1 bg=colour18 bold'
# panes
set-option -g pane-active-border-style fg=colour246
set-option -g pane-border-style fg=colour238
# statusbar
set-option -g status-justify left
set-option -g status-left '#[bg=colour72] #[bg=colour237] #[bg=colour236] #[bg=colour235]#[fg=colour185] #S #[bg=colour236] '
set-option -g status-left-length 16
set-option -g status-bg colour240
set-option -g status-right '#[bg=colour236] #[bg=colour235]#[fg=colour185] %a %R #[bg=colour236]#[fg=colour3] #[bg=colour237] #[bg=colour72] #[]'
set-option -g status-interval 60
# easy reload config
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded."
# active window title colors
#set-window-option -g window-status-current-fg colour166 #orange
#set-window-option -g window-status-current-bg default
#set-window-option -g window-status-current-attr bright
# default window title colors
#set-window-option -g window-status-fg colour244 #base0
#set-window-option -g window-status-bg default
#set-window-option -g window-status-attr dim
setw -g window-status-current-style 'fg=colour1 bg=colour19 bold'
setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F '
setw -g monitor-activity on
set -g visual-activity on
setw -g window-status-style 'fg=colour9 bg=colour18'
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold'
# messages
set -g message-style 'fg=colour232 bg=colour16 bold'
###### end of design #########
# Set 256 colors
set -s default-terminal 'tmux-256color'
# switch panes using Alt-arrow without prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# swap windows with shift+arrow with prefix
bind-key S-Left swap-window -t -1
bind-key S-Right swap-window -t +1
# copy from tmux to clipboard
bind-key -T copy-mode-vi y send-keys -X copy-pipe "xclip -r" \; display-message "Copied to selection"
bind-key -T copy-mode-vi Y send-keys -X copy-pipe "xclip -r -selection clipboard" \; display-message "Copied to clipboard"
bind-key C-p run-shell "xclip -o | tmux load-buffer - && tmux paste-buffer"
# turn mouse on
set -g mouse on
# restore vim sessions
set -g @resurrect-strategy-vim 'session'
# restore neovim sessions
set -g @resurrect-strategy-nvim 'session'
# restore panes
set -g @resurrect-capture-pane-contents 'on'
# restore last saved environment (automatically)
set -g @continuum-restore 'on'
# command history
set -g history-limit 102400
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'git@github.com:user/plugin'
# set -g @plugin 'git@bitbucket.com:user/plugin'
set-option -g default-shell /bin/zsh
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
{
"python.pythonPath": "/usr/bin/python3",
"workbench.iconTheme": "vscode-icons",
"workbench.colorTheme": "Community Material Theme Ocean",
"workbench.startupEditor": "newUntitledFile",
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"liveServer.settings.donotShowInfoMsg": true,
"python.jediEnabled": false,
"terminal.integrated.inheritEnv": false,
//terminal
"terminal.integrated.fontSize": 16,
"terminal.integrated.fontWeight": "normal",
"terminal.integrated.fontFamily": "Fira Code, Operator Mono",
"workbench.colorCustomizations": {
"[Material Theme Darker]": {
"activityBarBadge.background": "#388E3C",
"activityBar.activeBorder": "#388E3C",
"list.activeSelectionForeground": "#388E3C",
"list.inactiveSelectionForeground": "#388E3C",
"list.highlightForeground": "#388E3C",
"scrollbarSlider.activeBackground": "#388E3C50",
"editorSuggestWidget.highlightForeground": "#388E3C",
"textLink.foreground": "#388E3C",
"progressBar.background": "#388E3C",
"pickerGroup.foreground": "#388E3C",
"tab.activeBorder": "#388E3C",
"notificationLink.foreground": "#388E3C",
"editorWidget.resizeBorder": "#388E3C",
"editorWidget.border": "#388E3C",
"settings.modifiedItemIndicator": "#388E3C",
"settings.headerForeground": "#388E3C",
"panelTitle.activeBorder": "#388E3C",
"breadcrumb.activeSelectionForeground": "#388E3C",
"menu.selectionForeground": "#388E3C",
"menubar.selectionForeground": "#388E3C",
"editor.findMatchBorder": "#388E3C",
"selection.background": "#388E3C40",
"statusBarItem.remoteBackground": "#388E3C"
},
"terminal.background": "#1D2021",
"terminal.foreground": "#A89984",
"terminalCursor.background": "#A89984",
"terminalCursor.foreground": "#A89984",
"terminal.ansiBlack": "#1D2021",
"terminal.ansiBlue": "#0D6678",
"terminal.ansiBrightBlack": "#665C54",
"terminal.ansiBrightBlue": "#0D6678",
"terminal.ansiBrightCyan": "#8BA59B",
"terminal.ansiBrightGreen": "#95C085",
"terminal.ansiBrightMagenta": "#8F4673",
"terminal.ansiBrightRed": "#FB543F",
"terminal.ansiBrightWhite": "#FDF4C1",
"terminal.ansiBrightYellow": "#FAC03B",
"terminal.ansiCyan": "#8BA59B",
"terminal.ansiGreen": "#95C085",
"terminal.ansiMagenta": "#8F4673",
"terminal.ansiRed": "#FB543F",
"terminal.ansiWhite": "#A89984",
"terminal.ansiYellow": "#FAC03B"
},
"python.languageServer": "Microsoft",
"materialTheme.accent": "Breaking Bad",
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.formatOnSave": false,
"editor.defaultFormatter": null
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"vsicons.dontShowNewVersionMessage": true,
"beautify.language": {
"html": ["django-html"]
},
"[django-html]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "HookyQR.beautify"
},
"workbench.sideBar.location": "left",
"editor.minimap.enabled": false,
"tabnine.experimentalAutoImports": true,
"editor.fontFamily": "Fira Code, Operator Mono",
"editor.fontLigatures": true,
"python.formatting.provider": "autopep8",
"workbench.editorAssociations": [
{
"viewType": "jupyter.notebook.ipynb",
"filenamePattern": "*.ipynb"
}
],
"editor.wordWrap": "on",
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "comment",
"settings": {
"fontStyle": "italic"
}
}
]
},
"editor.formatOnSave": true,
"prettier.requireConfig": true,
"[javascriptreact]": {
// "editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": false,
"editor.defaultFormatter": null
},
"C_Cpp.updateChannel": "Insiders",
//cursor
"editor.cursorSmoothCaretAnimation": true,
"editor.cursorBlinking": "expand",
// config related to code formatting
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.tslint": true,
"source.organizeImports": true
},
"eslint.alwaysShowStatus": true,
"workbench.colorTheme": "Night Owl",
"window.zoomLevel": -0.5,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment