13 files changed,
63 insertions(+),
1058 deletions(-)
Author:
Smirnov Alexandr
ss2316544@gmail.com
Committed at:
2021-03-05 19:52:47 +0200
Parent:
197750f
D
bin/extract
··· 1 -#!/bin/sh 2 -case "$1" in 3 - *.tar.bz2) tar xjf $1 ;; 4 - *.tar.gz) tar xzf $1 ;; 5 - *.bz2) bunzip2 $1 ;; 6 - *.rar) unrar x $1 ;; 7 - *.gz) gunzip $1 ;; 8 - *.tar) tar xf $1 ;; 9 - *.tbz2) tar xjf $1 ;; 10 - *.tgz) tar xzf $1 ;; 11 - *.zip) unzip $1 ;; 12 - *.Z) uncompress $1 ;; 13 - *.7z) 7z x $1 ;; 14 - *.deb) ar x $1 ;; 15 - *.tar.xz) tar xf $1 ;; 16 - *.tar.zst) unzstd $1 ;; 17 - *) echo "'$1' is not a valid file" ;; 18 -esac
D
config/alacritty.yml
··· 1 -window: 2 - title: Alacritty 3 - class: 4 - instance: Alacritty 5 - general: Alacritty 6 - padding: 7 - x: 0 8 - y: 0 9 - 10 -font: 11 - antialias: lcd 12 - hinting: true 13 - size: 10.0 14 - normal: 15 - family: JetBrains Mono 16 - style: Regular 17 - bold: 18 - family: JetBrains Mono 19 - style: Bold 20 - italic: 21 - family: JetBrains Mono 22 - style: Italic 23 - bold_italic: 24 - family: JetBrains Mono 25 - style: Bold Italic 26 - offset: 27 - x: 1 28 - y: 0 29 - 30 -cursor: 31 - style: Underline 32 - Underline: 33 - height: 0.5 - 2 34 - 35 -scrolling.history: 1000 36 -debug.render_timer: false 37 -#draw_bold_text_with_bright_colors: false 38 -draw_bold_text_with_bright_colors: true 39 -background_opacity: 0.75 40 -dynamic_title: false 41 - 42 -colors: 43 - primary: 44 - background: "0x262A2B" 45 - foreground: "0xFFFFFF" 46 - cursor: 47 - text: "0x7D7D7D" 48 - cursor: "0xDFDFDF" 49 - selection: 50 - text: "0xEDEBD7" 51 - background: "0x262A3B" 52 - normal: 53 - black: "0x181818" 54 - red: "0xab4642" 55 - green: "0xa1b56c" 56 - yellow: "0xf7ca88" 57 - blue: "0x7cafc2" 58 - magenta: "0xba8baf" 59 - cyan: "0x86c1b9" 60 - white: "0xd8d8d8" 61 - bright: 62 - black: "0x585858" 63 - red: "0xab4642" 64 - green: "0xa1b56c" 65 - yellow: "0xf7ca88" 66 - blue: "0x7cafc2" 67 - magenta: "0xba8baf" 68 - cyan: "0x86c1b9" 69 - white: "0xf8f8f8" 70 - 71 -key_bindings: 72 - - { key: V, mods: Control|Shift, action: Paste } 73 - - { key: C, mods: Control|Shift, action: Copy }
M
config/dunst/dunstrc
··· 26 26 hide_duplicate_count = false 27 27 show_indicators = yes 28 28 icon_position = off 29 - max_icon_size = 32 30 - icon_folders = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ 31 - sticky_history = yes 32 - history_length = 20 33 - dmenu = /usr/bin/dmenu -p dunst: 34 - browser = /usr/bin/firefox -new-tab 35 29 always_run_script = true 36 - title = Dunst 37 - class = Dunst 38 30 startup_notification = false 39 31 force_xinerama = false 40 - 41 -[experimental] 42 - per_monitor_dpi = false 43 32 44 33 [shortcuts] 45 34 close = ··· 62 51 foreground = "#FFFFFF" 63 52 frame_color = "#e3788f" 64 53 timeout = 0 65 - 66 -[Spotify] 67 - appname = Spotify
M
config/nvim/init.vim
··· 1 1 call plug#begin('~/.vim/plugged') 2 2 Plug 'Smirnov-O/nten16.vim' 3 3 Plug 'sheerun/vim-polyglot' 4 - Plug 'maxboisvert/vim-simple-complete' 5 4 Plug 'jiangmiao/auto-pairs' 6 5 call plug#end() 7 6 8 7 "== General 9 -" Appearance 10 8 set termguicolors 11 9 colorscheme nten16 12 10 13 11 " Line numbers 14 -set nu rnu 12 +set number 13 +set relativenumber 15 14 16 15 " Line wrap 17 16 set nolinebreak ··· 29 28 set laststatus=0 30 29 set ruler 31 30 31 +" Folding 32 +set foldmethod=manual 33 + 34 +" Maximux item in popup 35 +set pumheight=9 36 + 32 37 " Scroll 33 -set scrolloff=3 38 +set scrolloff=4 34 39 35 40 " Mouse 36 41 set mouse=a ··· 42 47 set fileencodings=utf-8 43 48 44 49 " Backup file & history 45 -set nobackup noswapfile 50 +set nobackup noswapfile noundofile 46 51 set history=500 47 52 48 53 " Search ··· 67 72 68 73 69 74 "== Settings for specific files 70 -autocmd BufWritePre *.py normal m`:%s/\s\+$//e ` 71 -autocmd FileType python,go,json setlocal expandtab shiftwidth=4 tabstop=4 72 -autocmd FileType html,css,javascript,javascriptreact,yaml setlocal expandtab shiftwidth=2 tabstop=2 75 +autocmd FileType python,go,json setlocal et sw=4 ts=4 76 +autocmd FileType html,css,javascript,javascriptreact,yaml setlocal et sw=2 ts=2 73 77 74 78 75 79 "== Aliases 76 -command! W :w 80 +command! W :w 77 81 command! WQ :wq 78 82 command! Wq :wq 79 83 command! Wiki :e ~/doc/index.md 80 84 command! Prettier :!prettier % --write 81 -command! ESlint :!eslint % 82 -command! Flake8 :!flake8 % 83 -command! Black :!black % 85 +command! ESlint :!eslint % 86 +command! Flake8 :!flake8 % 87 +command! Black :!black % 84 88 command! AutoPep8 :!autopep8 % --in-place 85 89 86 90 87 91 "== Mapping 88 -let mapleader="'" 92 +let mapleader=";" 89 93 90 94 " Alternative keys 91 -noremap <C-s> :w<CR> 92 -noremap <C-n> :tabnew<CR> 93 -noremap <C-f> :find<Space> 94 -noremap <space> :nohl<CR> 95 +noremap <C-s> :w<CR> 96 +noremap <C-n> :tabnew<CR> 97 +noremap <space> :nohl<CR> 98 +noremap <C-space> zc 95 99 96 100 " Window 97 101 noremap <C-h> :wincmd h<CR> ··· 106 110 noremap spl :wincmd L<CR> 107 111 108 112 " Tab 109 -noremap tn :tabnew<CR> 110 -noremap tc :tabclose<CR> 113 +noremap tn :tabnew<CR> 114 +noremap tc :tabclose<CR> 111 115 noremap <A-1> :tabn 1<CR> 112 116 noremap <A-2> :tabn 2<CR> 113 117 noremap <A-3> :tabn 3<CR> ··· 125 129 " Work with system clipboard 126 130 noremap <leader>c "*yy<CR> 127 131 noremap <leader>v "+p<CR> 132 + 133 +" Kill terminal 134 +tnoremap <Esc> <C-\><C-n> :q<CR>
M
config/openbox/tint2rc
··· 227 227 execp_lclick_command = $HOME/.config/openbox/script/volume mute 228 228 execp_rclick_command = 229 229 execp_mclick_command = 230 -execp_uwheel_command = $HOME/.config/openbox/.script/volume up 231 -execp_dwheel_command = $HOME/.config/openbox/.script/volume down 230 +execp_uwheel_command = $HOME/.config/openbox/script/volume up 231 +execp_dwheel_command = $HOME/.config/openbox/script/volume down 232 232 execp_font = Droid Sans Bold 8 233 233 execp_font_color = #d1d1d1 100 234 234 execp_padding = 8 0
M
config/picom.conf
··· 7 7 shadow-offset-x = -7; 8 8 shadow-offset-y = -7; 9 9 shadow-exclude = [ 10 - "override_redirect", 11 - "class_g = 'Firefox' && argb", 12 10 "class_g = 'Tint2'" 13 11 ]; 14 12 ··· 25 23 frame-opacity = 1; 26 24 inactive-opacity-override = false; 27 25 no-fading-openclose = true 28 - 29 26 30 27 ####### General Settings ###### 31 28 backend = "glx";
D
config/ranger/rifle.conf
··· 1 -############# 2 -### Websites 3 -############# 4 -ext x?html?, has qutebrowser, X, flag f = qutebrowser -- "$@" 5 -ext x?html?, has firefox, X, flag f = firefox -- "$@" 6 -ext x?html?, has chromium-browser, X, flag f = chromium-browser -- "$@" 7 -ext x?html?, has chromium, X, flag f = chromium -- "$@" 8 -ext x?html?, has google-chrome, X, flag f = google-chrome -- "$@" 9 -ext x?html?, has surf, X, flag f = surf -- file://"$1" 10 -ext x?html?, has vimprobable, X, flag f = vimprobable -- "$@" 11 -ext x?html?, has vimprobable2, X, flag f = vimprobable2 -- "$@" 12 -ext x?html?, has dwb, X, flag f = dwb -- "$@" 13 -ext x?html?, has jumanji, X, flag f = jumanji -- "$@" 14 -ext x?html?, has luakit, X, flag f = luakit -- "$@" 15 -ext x?html?, has uzbl, X, flag f = uzbl -- "$@" 16 -ext x?html?, has uzbl-tabbed, X, flag f = uzbl-tabbed -- "$@" 17 -ext x?html?, has uzbl-browser, X, flag f = uzbl-browser -- "$@" 18 -ext x?html?, has uzbl-core, X, flag f = uzbl-core -- "$@" 19 -ext x?html?, has midori, X, flag f = midori -- "$@" 20 -ext x?html?, has opera, X, flag f = opera -- "$@" 21 -ext x?html?, has seamonkey, X, flag f = seamonkey -- "$@" 22 -ext x?html?, has iceweasel, X, flag f = iceweasel -- "$@" 23 -ext x?html?, has epiphany, X, flag f = epiphany -- "$@" 24 -ext x?html?, has konqueror, X, flag f = konqueror -- "$@" 25 -ext x?html?, has elinks, terminal = elinks "$@" 26 -ext x?html?, has links2, terminal = links2 "$@" 27 -ext x?html?, has links, terminal = links "$@" 28 -ext x?html?, has lynx, terminal = lynx -- "$@" 29 -ext x?html?, has w3m, terminal = w3m "$@" 30 - 31 -######### 32 -### Misc 33 -######### 34 -mime ^text, label editor = ${VISUAL:-$EDITOR} -- "$@" 35 -mime ^text, label pager = "$PAGER" -- "$@" 36 -!mime ^text, label editor, ext xml|json|csv|tex|py|pl|rb|js|sh|php = ${VISUAL:-$EDITOR} -- "$@" 37 -!mime ^text, label pager, ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@" 38 - 39 -ext 1 = man "$1" 40 -ext s[wmf]c, has zsnes, X = zsnes "$1" 41 -ext s[wmf]c, has snes9x-gtk,X = snes9x-gtk "$1" 42 -ext nes, has fceux, X = fceux "$1" 43 -ext exe = wine "$1" 44 -name ^[mM]akefile$ = make 45 - 46 -############ 47 -### Scripts 48 -############ 49 -ext py = python -- "$1" 50 -ext pl = perl -- "$1" 51 -ext rb = ruby -- "$1" 52 -ext js = node -- "$1" 53 -ext go = go -- "$1" 54 -ext sh = sh -- "$1" 55 -ext php = php -- "$1" 56 - 57 -#################### 58 -### Audio without X 59 -#################### 60 -mime ^audio|ogg$, terminal, has mpv = mpv -- "$@" 61 -mime ^audio|ogg$, terminal, has mplayer2 = mplayer2 -- "$@" 62 -mime ^audio|ogg$, terminal, has mplayer = mplayer -- "$@" 63 -ext midi?, terminal, has wildmidi = wildmidi -- "$@" 64 - 65 -########################### 66 -### Video/Audio with a GUI 67 -########################### 68 -mime ^video, has mpv, X, flag f = mpv -- "$@" 69 -mime ^video, has mpv, X, flag f = mpv --fs -- "$@" 70 -mime ^video|audio, has vlc, X, flag f = vlc -- "$@" 71 -mime ^video|audio, has smplayer, X, flag f = smplayer "$@" 72 -mime ^video|audio, has gmplayer, X, flag f = gmplayer -- "$@" 73 -mime ^video, has mplayer2, X, flag f = mplayer2 -- "$@" 74 -mime ^video, has mplayer2, X, flag f = mplayer2 -fs -- "$@" 75 -mime ^video, has mplayer, X, flag f = mplayer -- "$@" 76 -mime ^video, has mplayer, X, flag f = mplayer -fs -- "$@" 77 -mime ^video|audio, has totem, X, flag f = totem -- "$@" 78 -mime ^video|audio, has totem, X, flag f = totem --fullscreen -- "$@" 79 - 80 -#################### 81 -### Video without X 82 -#################### 83 -mime ^video, terminal, !X, has mpv = mpv -- "$@" 84 -mime ^video, terminal, !X, has mplayer2 = mplayer2 -- "$@" 85 -mime ^video, terminal, !X, has mplayer = mplayer -- "$@" 86 - 87 -############## 88 -### Documents 89 -############## 90 -ext pdf, has zathura, X, flag f = zathura -- "$@" 91 -ext pdf, has llpp, X, flag f = llpp "$@" 92 -ext pdf, has mupdf, X, flag f = mupdf "$@" 93 -ext pdf, has mupdf-x11,X, flag f = mupdf-x11 "$@" 94 -ext pdf, has apvlv, X, flag f = apvlv -- "$@" 95 -ext pdf, has xpdf, X, flag f = xpdf -- "$@" 96 -ext pdf, has evince, X, flag f = evince -- "$@" 97 -ext pdf, has atril, X, flag f = atril -- "$@" 98 -ext pdf, has okular, X, flag f = okular -- "$@" 99 -ext pdf, has epdfview, X, flag f = epdfview -- "$@" 100 -ext pdf, has qpdfview, X, flag f = qpdfview "$@" 101 -ext pdf, has open, X, flag f = open "$@" 102 - 103 -ext docx?, has catdoc, terminal = catdoc -- "$@" | "$PAGER" 104 - 105 -ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has gnumeric, X, flag f = gnumeric -- "$@" 106 -ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has kspread, X, flag f = kspread -- "$@" 107 -ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has libreoffice, X, flag f = libreoffice "$@" 108 -ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has soffice, X, flag f = soffice "$@" 109 -ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has ooffice, X, flag f = ooffice "$@" 110 - 111 -ext djvu, has zathura,X, flag f = zathura -- "$@" 112 -ext djvu, has evince, X, flag f = evince -- "$@" 113 -ext djvu, has atril, X, flag f = atril -- "$@" 114 -ext djvu, has djview, X, flag f = djview -- "$@" 115 - 116 -ext epub, has ebook-viewer, X, flag f = ebook-viewer -- "$@" 117 -ext epub, has zathura, X, flag f = zathura -- "$@" 118 -ext epub, has mupdf, X, flag f = mupdf -- "$@" 119 -ext mobi, has ebook-viewer, X, flag f = ebook-viewer -- "$@" 120 - 121 -ext cbr, has zathura, X, flag f = zathura -- "$@" 122 -ext cbz, has zathura, X, flag f = zathura -- "$@" 123 - 124 -########### 125 -### Images 126 -########### 127 -mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@" 128 -mime ^image/svg, has display, X, flag f = display -- "$@" 129 - 130 -mime ^image, has pix X, flag f = pix -- "$@" 131 -mime ^image, has ristretto, X, flag f = ristretto "$@" 132 -mime ^image, has gpicview, X, flag f = gpicview -- "$@" 133 -mime ^image, has gwenview, X, flag f = gwenview -- "$@" 134 -mime ^image, has pqiv, X, flag f = pqiv -- "$@" 135 -mime ^image, has imv, X, flag f = imv -- "$@" 136 -mime ^image, has sxiv, X, flag f = sxiv -- "$@" 137 -mime ^image, has feh, X, flag f = feh -- "$@" 138 -mime ^image, has mirage, X, flag f = mirage -- "$@" 139 -mime ^image, has eog, X, flag f = eog -- "$@" 140 -mime ^image, has eom, X, flag f = eom -- "$@" 141 -mime ^image, has nomacs, X, flag f = nomacs -- "$@" 142 -mime ^image, has geeqie, X, flag f = geeqie -- "$@" 143 -mime ^image, has gimp, X, flag f = gimp -- "$@" 144 -ext xcf, X, flag f = gimp -- "$@" 145 - 146 -############# 147 -### Archives 148 -############# 149 -ext 7z, has 7z = 7z -p l "$@" | "$PAGER" 150 -ext ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has atool = atool --list --each -- "$@" | "$PAGER" 151 -ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has atool = atool --list --each -- "$@" | "$PAGER" 152 -ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has atool = atool --extract --each -- "$@" 153 -ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has atool = atool --extract --each -- "$@" 154 - 155 -ext tar|gz|bz2|xz, has tar = tar vvtf "$1" | "$PAGER" 156 -ext tar|gz|bz2|xz, has tar = for file in "$@"; do tar vvxf "$file"; done 157 -ext bz2, has bzip2 = for file in "$@"; do bzip2 -dk "$file"; done 158 -ext zip, has unzip = unzip -l "$1" | less 159 -ext zip, has unzip = for file in "$@"; do unzip -d "${file%.*}" "$file"; done 160 -ext ace, has unace = unace l "$1" | less 161 -ext ace, has unace = for file in "$@"; do unace e "$file"; done 162 -ext rar, has unrar = unrar l "$1" | less 163 -ext rar, has unrar = for file in "$@"; do unrar x "$file"; done 164 - 165 -########## 166 -### Fonts 167 -########## 168 -mime ^font, has fontforge, X, flag f = fontforge "$@" 169 - 170 -############################## 171 -### Flag t fallback terminals 172 -############################## 173 -mime ^ranger/x-terminal-emulator, has alacritty = alacritty -e "$@" 174 -mime ^ranger/x-terminal-emulator, has kitty = kitty -- "$@" 175 -mime ^ranger/x-terminal-emulator, has xfce4-terminal = xfce4-terminal -x "$@" 176 -mime ^ranger/x-terminal-emulator, has terminology = terminology -e "$@" 177 -mime ^ranger/x-terminal-emulator, has mate-terminal = mate-terminal -x "$@" 178 -mime ^ranger/x-terminal-emulator, has konsole = konsole -e "$@" 179 -mime ^ranger/x-terminal-emulator, has lxterminal = lxterminal -e "$@" 180 -mime ^ranger/x-terminal-emulator, has gnome-terminal = gnome-terminal -- "$@" 181 -mime ^ranger/x-terminal-emulator, has sakura = sakura -e "$@" 182 -mime ^ranger/x-terminal-emulator, has lilyterm = lilyterm -e "$@" 183 -mime ^ranger/x-terminal-emulator, has termite = termite -x '"$@"' 184 -mime ^ranger/x-terminal-emulator, has yakuake = yakuake -e "$@" 185 -mime ^ranger/x-terminal-emulator, has guake = guake -ne "$@" 186 -mime ^ranger/x-terminal-emulator, has tilda = tilda -c "$@" 187 -mime ^ranger/x-terminal-emulator, has st = st -e "$@" 188 -mime ^ranger/x-terminal-emulator, has terminator = terminator -x "$@" 189 -mime ^ranger/x-terminal-emulator, has urxvt = urxvt -e "$@" 190 -mime ^ranger/x-terminal-emulator, has pantheon-terminal = pantheon-terminal -e "$@" 191 -mime ^ranger/x-terminal-emulator, has xterm = xterm -e "$@" 192 - 193 -######### 194 -### Misc 195 -######### 196 -label wallpaper, number 11, mime ^image, has feh, X = feh --bg-scale "$1" 197 -label wallpaper, number 12, mime ^image, has feh, X = feh --bg-tile "$1" 198 -label wallpaper, number 13, mime ^image, has feh, X = feh --bg-center "$1" 199 -label wallpaper, number 14, mime ^image, has feh, X = feh --bg-fill "$1" 200 - 201 -######################### 202 -### Generic file openers 203 -######################### 204 -label open, has xdg-open = xdg-open -- "$@" 205 -label open, has open = open -- "$@" 206 - 207 -label editor, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = ${VISUAL:-$EDITOR} -- "$@" 208 -label pager, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@" 209 - 210 -mime application/x-executable = "$1" 211 - 212 -label trash, has trash-put = trash-put -- "$@" 213 -label trash = mkdir -p -- ${XDG_DATA_DIR:-$HOME/.ranger}/ranger-trash; mv -- "$@" ${XDG_DATA_DIR:-$HOME/.ranger}/ranger-trash
D
config/zathura/zathurarc
··· 1 -set font "JetBrains Mono 10" 2 -set default-fg "#DFDFDF" 3 -set default-bg "#262A2B" 4 - 5 -set statusbar-fg "#CED4DA" 6 -set statusbar-bg "#1F2324" 7 -set statusbar-h-padding 10 8 -set statusbar-v-padding 10 9 - 10 -set inputbar-fg "#FFFFFF" 11 -set inputbar-bg "#1F2324" 12 - 13 -set completion-bg "#262A2B" 14 -set completion-fg "#FFFFFF" 15 -set completion-highlight-bg "#262A2B" 16 -set completion-highlight-fg "#51AFEF" 17 -set completion-group-bg "#262A2B" 18 -set completion-group-fg "#51AFEF"
M
gitconfig
··· 1 1 [user] 2 - username = Smirnov-O 3 - name = Smirnov Alexandr 4 - email = ss2316544@gmail.com 5 - 6 -[web] 7 - browser = google-chrome-stable 2 + name = Smirnov Alexandr 3 + email = ss2316544@gmail.com 8 4 9 5 [core] 10 - editor = nvim 6 + editor = nvim 11 7 12 8 [alias] 13 - ada = add -A 14 - cmm = commit -m 15 - st = status 16 - 17 -[credential] 18 - helper = cache --timeout=1800 9 + ada = add -A 10 + cmm = commit -m
M
tmux.conf
··· 19 19 ###== Keybindongs 20 20 21 21 ## HOME/END key support 22 -bind-key -n End send-key C-e 23 -bind-key -n Home send-key C-a 24 -#bind-key -n Home send Escape "OH" 25 -#bind-key -n End send Escape "OF" 26 - 22 +bind-key -n Home send Escape "OH" 23 +bind-key -n End send Escape "OF" 27 24 28 25 ## Reload config 29 26 bind r source-file ~/.tmux.conf \; display 'Reloaded tmux config'
M
vscode/README.md
··· 2 2 3 3 Install 4 4 ```bash 5 -mv ~/.vscode/settings.json ~/.config/Code/User 5 +mv ~/vscode/settings.json ~/.config/Code/User 6 6 ``` 7 7 8 8 Extensions 9 -- `Auto Import - ES6, TS` - Auto import for JS/TS, JSx/Tsx 10 -- `Auto rename tag` - Rename tag in HTML/JSX 11 -- `ESlint` - JavaScript linter 12 -- `One dark pro` - Color scheme 13 -- `Prettier` - JavaScript code formater 14 -- `Todo Tree` - Show all TODO in code 9 +- `ESlint` - eslint integration 10 +- `Prettier` - JS code formater 11 +- `GitLens` - Git integration 12 +- `Code spell` - Spell checker 13 +- `Ayu` - Color scheme 15 14 - `Vim` - Vim mode 16 -- `vscode-icons` - Icons 17 -- `VScode rich presence` - Discord status 18 -- `Python` - Better python syntax
M
vscode/settings.json
··· 1 1 { 2 - // Apperence 3 - "workbench.colorTheme": "Ayu Dark Bordered", 2 + "workbench.colorTheme": "Ayu Mirage Bordered", 4 3 "workbench.iconTheme": "ayu", 5 - "editor.fontFamily": "Jetbrain Mono, Droid Sans Mono, monospace", 6 4 "editor.wordWrap": "off", 7 5 "editor.fontSize": 14, 8 - 9 - // Editor 10 - "editor.tabCompletion": "on", 11 - "editor.tabSize": 4, 12 - "editor.formatOnSave": false, 13 - "workbench.startupEditor": "newUntitledFile", 14 - 15 - // Vim 16 - "vim.easymotion": true, 17 - "vim.surround": true, 18 - "vim.useSystemClipboard": true, 19 - "vim.insertModeKeyBindings": [ 20 - {"before": ["j", "j"], 21 - "after" : ["<Esc>"]}, 22 - {"before": ["Ctrl", "Shift", "e"], 23 - "commands": ["workbench.view.explorer"]}, 24 - ], 25 - "vim.normalModeKeyBindings": [ 26 - {"before": ["f"], 27 - "after" : ["leader","leader","s"]} 28 - ], 29 - 30 - // Terminal 31 6 "workbench.panel.defaultLocation": "right", 32 - "terminal.integrated.shell.linux": "zsh", 33 - 34 - // No show files 35 - "files.exclude": { 36 - "**/__pycache__": true, 37 - "**/venv": true, 38 - "**/env": true, 39 - "**/.git": true, 40 - "**/CVS": true, 41 - "**/.DS_Store": true, 42 - "**/node_modules": true 43 - }, 44 - 45 - // Minimap 46 7 "editor.minimap.side": "left", 47 8 "editor.minimap.size": "fit", 48 - 49 - // Sidebar 50 9 "workbench.sideBar.location": "right", 51 10 "workbench.activityBar.visible": true, 52 - 53 - // File menu 54 11 "window.menuBarVisibility": "hidden", 12 + "editor.formatOnPaste": true, 13 + "editor.minimap.enabled": false, 14 + "explorer.confirmDelete": false, 15 + "explorer.confirmDragAndDrop": false, 55 16 56 - // Python 57 - "python.linting.pylintEnabled": false, 58 - "python.linting.flake8Enabled": true, 59 - "python.linting.enabled": true, 60 - "python.formatting.provider": "autopep8", 61 - // JS 62 - "javascript.updateImportsOnFileMove.enabled": "never", 17 + "editor.tabCompletion": "on", 18 + "editor.tabSize": 4, 19 + "editor.formatOnSave": true, 20 + "git.autofetch": true, 21 + "git.confirmSync": false, 22 + 23 + "vim.easymotion": true, 24 + "vim.surround": true, 25 + "vim.useSystemClipboard": true, 26 + "vim.normalModeKeyBindings": [{"before": ["f"], "after" : ["leader","leader","s"]}], 63 27 64 - // Emmet 65 28 "emmet.includeLanguages": { 66 29 "javascript": "javascriptreact" 67 30 }, 68 - // Plugins 69 - "todo-tree.tree.showScanModeButton": false, 70 - 71 - // Explorer menu 72 - "explorer.confirmDelete": false, 73 - "explorer.confirmDragAndDrop": false, 74 - 75 - // Config for specific languages 76 - "[python]": { 77 - "editor.tabSize": 4, 78 - "editor.formatOnSave": true, 79 - "editor.formatOnPaste": true 80 - }, 81 31 "[javascript]": { 82 - "editor.tabSize": 2, 83 32 "editor.defaultFormatter": "esbenp.prettier-vscode", 84 - "editor.formatOnSave": true, 85 - "editor.formatOnPaste": true 86 - }, 87 - "[javascriptreact]": { 88 - "editor.formatOnSave": true, 89 - "editor.formatOnPaste": true, 90 - "editor.tabSize": 2, 91 - "editor.defaultFormatter": "esbenp.prettier-vscode", 33 + "editor.tabSize": 2 92 34 }, 93 35 "[markdown]": { 94 - "editor.wordWrap": "on", 95 - "editor.quickSuggestions": false 96 - }, 97 - "[html]": { 98 - "editor.tabSize": 3, 99 - "editor.suggest.insertMode": "replace" 100 - }, 101 - "[css]": { 102 - "editor.tabSize": 2, 103 - "editor.suggest.insertMode": "replace", 104 - "editor.formatOnSave": true, 105 - "editor.formatOnPaste": true, 106 - "editor.defaultFormatter": "esbenp.prettier-vscode", 107 - }, 108 - "[scss]": { 109 - "editor.tabSize": 2, 110 - "editor.suggest.insertMode": "replace", 111 - "editor.formatOnSave": true, 112 - "editor.formatOnPaste": true, 113 - "editor.defaultFormatter": "esbenp.prettier-vscode", 114 - }, 115 - "git.autofetch": true, 116 - "editor.formatOnPaste": true, 117 - "editor.minimap.enabled": false, 118 - "tabnine.experimentalAutoImports": true, 119 - "git.confirmSync": false, 120 - "workbench.colorCustomizations": { 121 - "[generated-dark]": { 122 - "focusBorder": "#008dcd", 123 - "foreground": "#dfdfdf", 124 - "widget.shadow": "#0e1010", 125 - "selection.background": "#008dcd80", 126 - "errorForeground": "#F07171", 127 - "textLink.foreground": "#c678dd", 128 - "textLink.activeForeground": "#008dcd", 129 - "textPreformat.foreground": "#51afef", 130 - "textSeparator.foreground": "#0f1112", 131 - "button.background": "#c678dd", 132 - "button.foreground": "#000000", 133 - "button.hoverBackground": "#a463b7", 134 - "checkbox.background": "#313638", 135 - "dropdown.background": "#313638", 136 - "dropdown.border": "#3a4042", 137 - "input.background": "#313638", 138 - "input.border": "#3a4042", 139 - "inputValidation.errorBackground": "#F0717190", 140 - "inputValidation.errorBorder": "#F07171", 141 - "inputValidation.errorForeground": "#000000", 142 - "inputValidation.infoBackground": "#399EE690", 143 - "inputValidation.infoBorder": "#399EE6", 144 - "inputValidation.infoForeground": "#000000", 145 - "inputValidation.warningBackground": "#EF7C2A90", 146 - "inputValidation.warningBorder": "#EF7C2A", 147 - "inputValidation.warningForeground": "#000000", 148 - "scrollbar.shadow": "#0e1010", 149 - "scrollbarSlider.background": "#6a757750", 150 - "scrollbarSlider.hoverBackground": "#808e9140", 151 - "scrollbarSlider.activeBackground": "#535c5e40", 152 - "badge.background": "#51afef", 153 - "badge.foreground": "#000000", 154 - "progressBar.background": "#008dcd", 155 - "list.activeSelectionBackground": "#008dcd20", 156 - "list.focusBackground": "#008dcd30", 157 - "list.highlightForeground": "#51afef", 158 - "list.hoverBackground": "#323739", 159 - "list.inactiveSelectionBackground": "#008dcd25", 160 - "list.errorForeground": "#F07171", 161 - "list.warningForeground": "#EF7C2A", 162 - "activityBar.background": "#1b1e1e", 163 - "activityBar.inactiveForeground": "#acacac", 164 - "activityBar.dropBorder": "#008dcd", 165 - "activityBarBadge.background": "#51afef", 166 - "activityBarBadge.foreground": "#000000", 167 - "activityBar.activeBorder": "#008dcd", 168 - "activityBar.activeBackground": "#008dcd13", 169 - "activityBar.activeFocusBorder": "#008dcd", 170 - "sideBar.background": "#202425", 171 - "sideBarSectionHeader.background": "#2b3032", 172 - "minimap.selectionHighlight": "#008dcd80", 173 - "minimap.errorHighlight": "#F07171", 174 - "minimap.warningHighlight": "#EF7C2A", 175 - "minimapGutter.addedBackground": "#ecbe7b", 176 - "minimapGutter.deletedBackground": "#F07171", 177 - "minimapGutter.modifiedBackground": "#399EE6", 178 - "editorGroup.border": "#1b1e1e", 179 - "editorGroup.dropBackground": "#008dcd30", 180 - "editorGroupHeader.noTabsBackground": "#313638", 181 - "editorGroupHeader.tabsBackground": "#313638", 182 - "tab.activeBackground": "#262a2b", 183 - "tab.border": "#3d4345", 184 - "tab.activeBorder": "#008dcd", 185 - "tab.lastPinnedBorder": "#008dcd50", 186 - "tab.inactiveBackground": "#313638", 187 - "tab.hoverBackground": "#3d4345", 188 - "tab.activeModifiedBorder": "#399EE6", 189 - "editorPane.background": "#1d2021", 190 - "editor.background": "#262a2b", 191 - "editor.foreground": "#dfdfdf", 192 - "editorLineNumber.foreground": "#565f61", 193 - "editorLineNumber.activeForeground": "#a3abad", 194 - "editorCursor.background": "#ffffff", 195 - "editorCursor.foreground": "#008dcd", 196 - "editor.selectionBackground": "#008dcd30", 197 - "editor.findMatchHighlightBackground": "#dfdfdf30", 198 - "editor.findMatchBorder": "#008dcd", 199 - "editor.lineHighlightBackground": "#313638", 200 - "editorLink.activeForeground": "#008dcd", 201 - "editorWhitespace.foreground": "#535c5e", 202 - "editorIndentGuide.background": "#3d4345", 203 - "editorIndentGuide.activeBackground": "#008dcd", 204 - "editorRuler.foreground": "#3d4345", 205 - "editorBracketMatch.border": "#00699a", 206 - "editorBracketMatch.background": "#212526", 207 - "editor.foldBackground": "#008dcd30", 208 - "editorOverviewRuler.border": "#3d4345", 209 - "editorOverviewRuler.selectionHighlightForeground": "#008dcd", 210 - "editorOverviewRuler.modifiedForeground": "#399EE6", 211 - "editorOverviewRuler.addedForeground": "#399EE6", 212 - "editorOverviewRuler.deletedForeground": "#399EE6", 213 - "editorOverviewRuler.errorForeground": "#F07171", 214 - "editorOverviewRuler.warningForeground": "#EF7C2A", 215 - "editorOverviewRuler.infoForeground": "#399EE6", 216 - "editorOverviewRuler.bracketMatchForeground": "#008dcd", 217 - "editorError.foreground": "#F07171", 218 - "editorWarning.foreground": "#EF7C2A", 219 - "editorInfo.foreground": "#399EE6", 220 - "problemsErrorIcon.foreground": "#F07171", 221 - "problemsWarningIcon.foreground": "#EF7C2A", 222 - "problemsInfoIcon.foreground": "#399EE6", 223 - "editorGutter.modifiedBackground": "#399EE6", 224 - "editorGutter.addedBackground": "#ecbe7b", 225 - "editorGutter.deletedBackground": "#F07171", 226 - "diffEditor.insertedTextBackground": "#ecbe7b30", 227 - "diffEditor.removedTextBackground": "#F0717135", 228 - "editorWidget.background": "#262a2b", 229 - "editorWidget.resizeBorder": "#3d4345", 230 - "editorSuggestWidget.background": "#313638", 231 - "editorSuggestWidget.border": "#3d4345", 232 - "editorSuggestWidget.highlightForeground": "#51afef", 233 - "editorHoverWidget.border": "#3d4345", 234 - "editorMarkerNavigation.background": "#262a2b", 235 - "editorMarkerNavigationError.background": "#F07171", 236 - "editorMarkerNavigationWarning.background": "#EF7C2A", 237 - "editorMarkerNavigationInfo.background": "#399EE6", 238 - "peekViewResult.background": "#313638", 239 - "peekViewTitle.background": "#1b1e1e", 240 - "panel.dropBorder": "#008dcd", 241 - "panelTitle.activeBorder": "#008dcd", 242 - "statusBar.background": "#1b1e1e", 243 - "statusBarItem.hoverBackground": "#323737", 244 - "statusBarItem.prominentBackground": "#008dcd", 245 - "statusBarItem.prominentForeground": "#ffffff", 246 - "statusBarItem.prominentHoverBackground": "#007bb3", 247 - "titleBar.activeBackground": "#313638", 248 - "titleBar.inactiveBackground": "#262a2b", 249 - "titleBar.border": "#353b3d", 250 - "menu.background": "#262a2b", 251 - "menu.foreground": "#dfdfdf", 252 - "menu.selectionBackground": "#008dcdDD", 253 - "menu.selectionForeground": "#ffffff", 254 - "menu.separatorBackground": "#535c5e", 255 - "notificationsErrorIcon.foreground": "#F07171", 256 - "notificationsWarningIcon.foreground": "#EF7C2A", 257 - "notificationsInfoIcon.foreground": "#399EE6", 258 - "notifications.background": "#262a2b", 259 - "extensionButton.prominentBackground": "#c678dd", 260 - "extensionButton.prominentForeground": "#000000", 261 - "extensionButton.prominentHoverBackground": "#985caa", 262 - "pickerGroup.border": "#0f1112", 263 - "pickerGroup.foreground": "#008dcd", 264 - "terminal.selectionBackground": "#008dcd", 265 - "terminalCursor.foreground": "#008dcd", 266 - "terminalCursor.background": "#ffffff", 267 - "gitDecoration.addedResourceForeground": "#ecbe7b", 268 - "gitDecoration.modifiedResourceForeground": "#399EE6", 269 - "gitDecoration.deletedResourceForeground": "#F07171", 270 - "gitDecoration.stageDeletedResourceForeground": "#F07171", 271 - "gitDecoration.stageModifiedResourceForeground": "#399EE6", 272 - "settings.modifiedItemIndicator": "#399EE6", 273 - "notebook.focusedRowBorder": "#008dcd" 274 - } 275 - }, 276 - "editor.tokenColorCustomizations": { 277 - "[generated-dark]": { 278 - "textMateRules": [ 279 - { 280 - "scope": "invalid", 281 - "settings": { 282 - "foreground": "#F07171" 283 - } 284 - }, 285 - { 286 - "scope": [ 287 - "meta.embedded", 288 - "source.groovy.embedded", 289 - "meta.template.expression" 290 - ], 291 - "settings": { 292 - "foreground": "#dfdfdf" 293 - } 294 - }, 295 - { 296 - "scope": [ 297 - "variable", 298 - "support.variable.property.dom", 299 - "support.variable.dom", 300 - "support.variable.property", 301 - "punctuation.separator.parameter", 302 - "string.interpolated.pug variable" 303 - ], 304 - "settings": { 305 - "foreground": "#dfdfdf" 306 - } 307 - }, 308 - { 309 - "scope": [ 310 - "comment", 311 - "punctuation.definition.comment" 312 - ], 313 - "settings": { 314 - "foreground": "#758184" 315 - } 316 - }, 317 - { 318 - "scope": [ 319 - "string", 320 - "punctuation.definition.string" 321 - ], 322 - "settings": { 323 - "foreground": "#2623ab" 324 - } 325 - }, 326 - { 327 - "scope": "constant.character.escape", 328 - "settings": { 329 - "foreground": "#c678dd" 330 - } 331 - }, 332 - { 333 - "scope": [ 334 - "keyword", 335 - "constant.language.import-export-all" 336 - ], 337 - "settings": { 338 - "foreground": "#51afef" 339 - } 340 - }, 341 - { 342 - "scope": [ 343 - "entity.name.type", 344 - "support.type.primitive", 345 - "support.type.builtin", 346 - "meta.type.annotation entity.name.type", 347 - "meta.type.parameters entity.name.type" 348 - ], 349 - "settings": { 350 - "foreground": "#98be65" 351 - } 352 - }, 353 - { 354 - "scope": [ 355 - "keyword.control", 356 - "keyword.operator", 357 - "storage", 358 - "support.type", 359 - "keyword.operator.expression", 360 - "keyword.operator.new" 361 - ], 362 - "settings": { 363 - "foreground": "#c678dd" 364 - } 365 - }, 366 - { 367 - "scope": [ 368 - "entity.name.function", 369 - "support.class", 370 - "support.function", 371 - "new.expr entity.name.type", 372 - "entity.other.inherited-class" 373 - ], 374 - "settings": { 375 - "foreground": "#008dcd" 376 - } 377 - }, 378 - { 379 - "scope": [ 380 - "punctuation.definition.typeparameters", 381 - "keyword.operator.type", 382 - "keyword.operator.optional", 383 - "punctuation.definition.template-expression", 384 - "source.tsx punctuation.section.embedded", 385 - "source.jsx punctuation.section.embedded" 386 - ], 387 - "settings": { 388 - "foreground": "#51afef" 389 - } 390 - }, 391 - { 392 - "scope": "constant", 393 - "settings": { 394 - "foreground": "#98be65" 395 - } 396 - }, 397 - { 398 - "scope": [ 399 - "constant.numeric", 400 - "constant.language" 401 - ], 402 - "settings": { 403 - "foreground": "#dfdfdf" 404 - } 405 - }, 406 - { 407 - "scope": [ 408 - "variable.parameter", 409 - "parameter.variable", 410 - "meta.function.parameter variable", 411 - "source.rust meta.type_params.rust" 412 - ], 413 - "settings": { 414 - "foreground": "#dfdfdf" 415 - } 416 - }, 417 - { 418 - "scope": [ 419 - "punctuation", 420 - "meta.brace" 421 - ], 422 - "settings": { 423 - "foreground": "#868686" 424 - } 425 - }, 426 - { 427 - "scope": "comment.block.documentation entity.name.type", 428 - "settings": { 429 - "foreground": "#51afef" 430 - } 431 - }, 432 - { 433 - "scope": [ 434 - "variable.language.this", 435 - "variable.language.special.self" 436 - ], 437 - "settings": { 438 - "foreground": "#c678dd" 439 - } 440 - }, 441 - { 442 - "scope": [ 443 - "meta.tag.metadata.doctype entity.name.tag", 444 - "meta.tag.metadata.doctype punctuation.definition.tag", 445 - "meta.tag.metadata.doctype string", 446 - "meta.tag.metadata.doctype entity.other.attribute-name.html", 447 - "meta.tag.sgml.doctype" 448 - ], 449 - "settings": { 450 - "foreground": "#868686" 451 - } 452 - }, 453 - { 454 - "scope": "entity.name.tag", 455 - "settings": { 456 - "foreground": "#c678dd" 457 - } 458 - }, 459 - { 460 - "scope": "meta.tag string", 461 - "settings": { 462 - "foreground": "#2623ab" 463 - } 464 - }, 465 - { 466 - "scope": "meta.attribute punctuation.definition.string", 467 - "settings": { 468 - "foreground": "#868686" 469 - } 470 - }, 471 - { 472 - "scope": [ 473 - "meta.tag entity.other.attribute-name", 474 - "entity.other.attribute-name.html" 475 - ], 476 - "settings": { 477 - "foreground": "#51afef" 478 - } 479 - }, 480 - { 481 - "scope": [ 482 - "constant.character.entity", 483 - "punctuation.definition.entity" 484 - ], 485 - "settings": { 486 - "foreground": "#dfdfdf" 487 - } 488 - }, 489 - { 490 - "scope": [ 491 - "entity.name.section.markdown", 492 - "markup.heading.setext" 493 - ], 494 - "settings": { 495 - "foreground": "#51afef" 496 - } 497 - }, 498 - { 499 - "scope": "punctuation.definition.list", 500 - "settings": { 501 - "foreground": "#51afef" 502 - } 503 - }, 504 - { 505 - "scope": "meta.separator.markdown", 506 - "settings": { 507 - "foreground": "#51afef" 508 - } 509 - }, 510 - { 511 - "scope": "markup.inline.raw", 512 - "settings": { 513 - "foreground": "#c678dd" 514 - } 515 - }, 516 - { 517 - "scope": "markup.bold", 518 - "settings": { 519 - "fontStyle": "bold" 520 - } 521 - }, 522 - { 523 - "scope": "markup.italic", 524 - "settings": { 525 - "fontStyle": "italic" 526 - } 527 - }, 528 - { 529 - "scope": [ 530 - "meta.link punctuation.definition.string", 531 - "meta.image punctuation.definition.string" 532 - ], 533 - "settings": { 534 - "foreground": "#868686" 535 - } 536 - }, 537 - { 538 - "scope": [ 539 - "link", 540 - "markup.underline.link", 541 - "constant.other.reference.link.markdown" 542 - ], 543 - "settings": { 544 - "foreground": "#008dcd" 545 - } 546 - }, 547 - { 548 - "scope": "markup.quote", 549 - "settings": { 550 - "foreground": "#dfdfdf" 551 - } 552 - }, 553 - { 554 - "scope": [ 555 - "entity.name.tag.css", 556 - "entity.name.tag.wildcard" 557 - ], 558 - "settings": { 559 - "foreground": "#2623ab" 560 - } 561 - }, 562 - { 563 - "scope": [ 564 - "entity.other.attribute-name.class", 565 - "entity.other.attribute-name punctuation.definition.entity" 566 - ], 567 - "settings": { 568 - "foreground": "#51afef" 569 - } 570 - }, 571 - { 572 - "scope": [ 573 - "entity.other.attribute-name.pseudo-element", 574 - "entity.other.attribute-name.pseudo-class", 575 - "constant.other.color" 576 - ], 577 - "settings": { 578 - "foreground": "#c678dd" 579 - } 580 - }, 581 - { 582 - "scope": [ 583 - "entity.other.attribute-name.id", 584 - "entity.other.attribute-name.id punctuation.definition.entity" 585 - ], 586 - "settings": { 587 - "foreground": "#008dcd" 588 - } 589 - }, 590 - { 591 - "scope": "source.css constant.numeric", 592 - "settings": { 593 - "foreground": "#2623ab" 594 - } 595 - }, 596 - { 597 - "scope": [ 598 - "meta.property-name", 599 - "support.type.property-name" 600 - ], 601 - "settings": { 602 - "foreground": "#dfdfdf" 603 - } 604 - }, 605 - { 606 - "scope": [ 607 - "meta.property-value", 608 - "meta.property-value constant.other", 609 - "support.constant.property-value" 610 - ], 611 - "settings": { 612 - "foreground": "#008dcd" 613 - } 614 - }, 615 - { 616 - "scope": "variable.parameter.url", 617 - "settings": { 618 - "foreground": "#dfdfdf" 619 - } 620 - }, 621 - { 622 - "scope": "punctuation.definition.variable", 623 - "settings": { 624 - "foreground": "#dfdfdf" 625 - } 626 - }, 627 - { 628 - "scope": [ 629 - "punctuation.section.embedded.begin.php", 630 - "punctuation.section.embedded.end.php" 631 - ], 632 - "settings": { 633 - "foreground": "#51afef" 634 - } 635 - }, 636 - { 637 - "scope": "entity.name.section", 638 - "settings": { 639 - "foreground": "#008dcd" 640 - } 641 - }, 642 - { 643 - "scope": "support.type.property-name.json", 644 - "settings": { 645 - "foreground": "#51afef" 646 - } 647 - }, 648 - { 649 - "scope": "markup.inserted", 650 - "settings": { 651 - "foreground": "#ecbe7b" 652 - } 653 - }, 654 - { 655 - "scope": "markup.changed", 656 - "settings": { 657 - "foreground": "#399EE6" 658 - } 659 - }, 660 - { 661 - "scope": "markup.deleted", 662 - "settings": { 663 - "foreground": "#F07171" 664 - } 665 - }, 666 - { 667 - "scope": "meta.diff.header", 668 - "settings": { 669 - "foreground": "#399EE6", 670 - "fontStyle": "italic" 671 - } 672 - }, 673 - { 674 - "scope": "meta.diff.range", 675 - "settings": { 676 - "foreground": "#c678dd" 677 - } 678 - } 679 - ] 680 - } 681 - }, 682 - 36 + "editor.wordWrap": "on" 37 + } 683 38 }