all repos

dotfiles @ bf9e797a6476e163c4ade6a9eeebf06c59fc0bd4

i use rach linux btw
4 files changed, 102 insertions(+), 76 deletions(-)
added kitty config, updated zsh, vscode
Author: neoteny ss2316544@gmail.com
Committed at: 2021-12-31 16:52:49 +0200
Parent: 17c0bd6
M config/alacritty.yml
···
        5
        5
           title: Alacritty

      
        6
        6
           dynamic_padding: false

      
        7
        7
           padding:

      
        8
        
        -    x: 6

      
        9
        
        -    y: 6

      
        
        8
        +    x: 0

      
        
        9
        +    y: 2

      
        10
        10
         

      
        11
        11
           class:

      
        12
        12
             instance: Alacritty

      ···
        51
        51
         schemes:

      
        52
        52
           vscode: &vscode

      
        53
        53
             primary:

      
        54
        
        -     background: '#1e1e1e'

      
        55
        
        -     foreground: '#d4d4d4'

      
        
        54
        +      background: "#1e1e1e"

      
        
        55
        +      foreground: "#d4d4d4"

      
        56
        56
             cursor:

      
        57
        57
               text: CellBackground

      
        58
        
        -      cursor: '#d4d4d4'

      
        
        58
        +      cursor: "#d4d4d4"

      
        59
        59
             normal:

      
        60
        
        -      black:   '#1e1e1e'

      
        61
        
        -      red:     '#f44747'

      
        62
        
        -      green:   '#608b4e'

      
        63
        
        -      yellow:  '#dcdcaa'

      
        64
        
        -      blue:    '#569cd6'

      
        65
        
        -      magenta: '#c678dd'

      
        66
        
        -      cyan:    '#56b6c2'

      
        67
        
        -      white:   '#d4d4d4'

      
        
        60
        +      black: "#1e1e1e"

      
        
        61
        +      red: "#f44747"

      
        
        62
        +      green: "#608b4e"

      
        
        63
        +      yellow: "#dcdcaa"

      
        
        64
        +      blue: "#569cd6"

      
        
        65
        +      magenta: "#c678dd"

      
        
        66
        +      cyan: "#56b6c2"

      
        
        67
        +      white: "#d4d4d4"

      
        68
        68
             bright:

      
        69
        
        -      black:   '#545454'

      
        70
        
        -      red:     '#f44747'

      
        71
        
        -      green:   '#608b4e'

      
        72
        
        -      yellow:  '#dcdcaa'

      
        73
        
        -      blue:    '#569cd6'

      
        74
        
        -      magenta: '#c678dd'

      
        75
        
        -      cyan:    '#56b6c2'

      
        76
        
        -      white:   '#d4d4d4'

      
        
        69
        +      black: "#545454"

      
        
        70
        +      red: "#f44747"

      
        
        71
        +      green: "#608b4e"

      
        
        72
        +      yellow: "#dcdcaa"

      
        
        73
        +      blue: "#569cd6"

      
        
        74
        +      magenta: "#c678dd"

      
        
        75
        +      cyan: "#56b6c2"

      
        
        76
        +      white: "#d4d4d4"

      
        77
        77
         

      
        78
        78
         colors: *vscode

      
        79
        79
         

      
        80
        80
         key_bindings:

      
        81
        
        -  - { key: V,         mods: Control|Shift, action: Paste            }

      
        82
        
        -  - { key: C,         mods: Control|Shift, action: Copy             }

      
        83
        
        -  - { key: Key0,      mods: Control,       action: ResetFontSize    }

      
        84
        
        -  - { key: Plus,      mods: Control,       action: IncreaseFontSize }

      
        85
        
        -  - { key: Minus,     mods: Control,       action: DecreaseFontSize }

      
        86
        
        -  - { key: F11,       mods: None,          action: ToggleFullscreen }

      
        
        81
        +  - { key: V, mods: Control|Shift, action: Paste }

      
        
        82
        +  - { key: C, mods: Control|Shift, action: Copy }

      
        
        83
        +  - { key: Key0, mods: Control, action: ResetFontSize }

      
        
        84
        +  - { key: Plus, mods: Control, action: IncreaseFontSize }

      
        
        85
        +  - { key: Minus, mods: Control, action: DecreaseFontSize }

      
        
        86
        +  - { key: F11, mods: None, action: ToggleFullscreen }

      
M config/kitty/kitty.conf
···
        1
        
        -font_family JetBrains Mono

      
        2
        
        -disable_ligatures always

      
        3
        
        -enable_audio_bell no

      
        4
        
        -open_url_modifiers ctrl

      
        
        1
        +linux_display_server x11

      
        
        2
        +sync_to_monitor      yes

      
        
        3
        +

      
        
        4
        +## Font

      
        
        5
        +font_size         12.0

      
        
        6
        +font_family       Jetbrains Mono

      
        
        7
        +bold_font         auto

      
        
        8
        +italic_font       auto

      
        
        9
        +bold_italic_font  auto

      
        
        10
        +disable_ligatures never

      
        
        11
        +

      
        
        12
        +## Bell

      
        
        13
        +enable_audio_bell    no

      
        
        14
        +visual_bell_duration 0

      
        
        15
        +

      
        
        16
        +## Cursor

      
        
        17
        +cursor_beam_thickness 0

      
        
        18
        +cursor_shape underline

      
        
        19
        +cursor_underline_thickness 1.3

      
        5
        20
         cursor_blink_interval 0

      
        6
        
        -tab_bar_edge bottom

      
        7
        
        -tab_bar_style separator

      
        8
        
        -tab_separator ""

      
        9
        
        -tab_title_template "{index}: {title}"

      
        10
        21
         

      
        11
        
        -map ctrl+equal change_font_size all +2

      
        12
        
        -map ctrl+minus change_font_size all -2

      
        13
        
        -map ctrl+backspace change_font_size all 0

      
        14
        
        -map ctrl+alt+r load_config_file

      
        15
        
        -map ctrl+1 goto_tab 1

      
        16
        
        -map ctrl+2 goto_tab 2

      
        17
        
        -map ctrl+3 goto_tab 3

      
        18
        
        -map ctrl+4 goto_tab 4

      
        
        22
        +## Mouse

      
        
        23
        +mouse_hide_wait 3.0

      
        
        24
        +focus_follows_mouse no

      
        19
        25
         

      
        20
        
        -color0 #232323

      
        21
        
        -color1 #ff000f

      
        22
        
        -color2 #8ce10b

      
        23
        
        -color3 #ffb900

      
        24
        
        -color4 #008df8

      
        25
        
        -color5 #6d43a6

      
        26
        
        -color6 #00d8eb

      
        27
        
        -color7 #ffffff

      
        28
        
        -color8 #444444

      
        29
        
        -color9 #ff2740

      
        30
        
        -color10 #abe15b

      
        31
        
        -color11 #ffd242

      
        32
        
        -color12 #0092ff

      
        33
        
        -color13 #9a5feb

      
        34
        
        -color14 #67fff0

      
        35
        
        -color15 #ffffff

      
        36
        
        -# background #0e1019

      
        37
        
        -background #1e1e1e

      
        38
        
        -selection_foreground #0e1019

      
        39
        
        -cursor #ff0018

      
        40
        
        -foreground #fffaf4

      
        41
        
        -selection_background #fffaf4

      
        
        26
        +## Mappings

      
        
        27
        +map ctrl+shift+1 goto_tab 1

      
        
        28
        +map ctrl+shift+2 goto_tab 2

      
        
        29
        +map ctrl+shift+3 goto_tab 3

      
        
        30
        +map ctrl+shift+4 goto_tab 4 

      
        
        31
        +map ctrl+shift+5 goto_tab 5 

      
        
        32
        +

      
        
        33
        +## Colors

      
        
        34
        +background #1E1E29

      
        
        35
        +# background #1e1e1e

      
        
        36
        +

      
        
        37
        +

      
        
        38
        +foreground #d4d4d4

      
        
        39
        +selection_background #d7ba7d

      
        
        40
        +selection_foreground #1e1e1e

      
        
        41
        +url_color #0087BD

      
        
        42
        +color0 #1e1e1e

      
        
        43
        +color8 #808080

      
        
        44
        +color1 #f44747

      
        
        45
        +color9 #f44747

      
        
        46
        +color2 #608b4e

      
        
        47
        +color10 #608b4e

      
        
        48
        +color3 #dcdcaa

      
        
        49
        +color11 #dcdcaa

      
        
        50
        +color4  #569cd6

      
        
        51
        +color12 #569cd6

      
        
        52
        +color5 #c678dd

      
        
        53
        +color13 #c678dd

      
        
        54
        +color6 #56b6c2

      
        
        55
        +color14 #56b6c2

      
        
        56
        +color7 #d4d4d4

      
        
        57
        +color15 #d4d4d4

      
M vscode/settings.json
···
        1
        1
         {

      
        2
        2
           "workbench.colorTheme": "Default Dark+",

      
        3
        3
           "workbench.iconTheme": "material-icon-theme",

      
        4
        
        -  "workbench.sideBar.location": "left",

      
        
        4
        +  "workbench.sideBar.location": "right",

      
        5
        5
           "workbench.startupEditor": "none",

      
        6
        6
           "workbench.activityBar.visible": false,

      
        7
        7
           "window.menuBarVisibility": "toggle",

      ···
        11
        11
           "terminal.integrated.fontSize": 15,

      
        12
        12
           // Editor

      
        13
        13
           "editor.fontFamily": "'Jetbrains Mono'",

      
        14
        
        -  "editor.cursorSmoothCaretAnimation": true,

      
        
        14
        +  "editor.cursorSmoothCaretAnimation": false,

      
        
        15
        +  "editor.cursorBlinking": "expand",

      
        15
        16
           "editor.smoothScrolling": true,

      
        16
        17
           "editor.inlineSuggest.enabled": true,

      
        17
        18
           "editor.hover.enabled": true,

      ···
        28
        29
           "files.trimTrailingWhitespace": true,

      
        29
        30
           "files.exclude": {

      
        30
        31
             "**/node_modules": true,

      
        31
        
        -    "**/env": true

      
        
        32
        +    "**/env": true,

      
        
        33
        +    "**/.classpath": true,

      
        
        34
        +    "**/.project": true,

      
        
        35
        +    "**/.settings": true,

      
        
        36
        +    "**/.factorypath": true

      
        32
        37
           },

      
        33
        38
           // Git

      
        34
        39
           "git.autofetch": true,

      ···
        40
        45
           "tabnine.experimentalAutoImports": true,

      
        41
        46
           // Languages

      
        42
        47
           "go.lintOnSave": "package",

      
        43
        
        -  "go.lintTool": "golangci-lint",

      
        
        48
        +  // "go.lintTool": "golangci-lint",

      
        44
        49
           "go.formatTool": "gofumpt",

      
        45
        50
           "python.formatting.provider": "black",

      
        46
        51
           "python.analysis.autoImportCompletions": true,

      ···
        61
        66
             "editor.defaultFormatter": "esbenp.prettier-vscode",

      
        62
        67
             "editor.tabSize": 2

      
        63
        68
           },

      
        64
        
        -  "files.associations": {

      
        65
        
        -    "justfile": "makefile"

      
        66
        
        -  }

      
        67
        
        -}

      
        
        69
        +  "vim.hlsearch": true,

      
        
        70
        +  "vim.useSystemClipboard": true,

      
        
        71
        +  "workbench.editorAssociations": {

      
        
        72
        +    "*.mp4": "default"

      
        
        73
        +  },

      
        
        74
        +  "liveServer.settings.donotVerifyTags": true

      
        
        75
        +}
      
M zshrc
···
        4
        4
         export EDITOR="nvim"

      
        5
        5
         

      
        6
        6
         ## Oh my zsh

      
        7
        
        -plugins=(git dotenv npm yarn extract)

      
        
        7
        +plugins=(git dotenv yarn extract)

      
        8
        8
         ZSH_THEME="simple"

      
        9
        9
         DISABLE_AUTO_TITLE="true"

      
        10
        
        -source "$HOME/.oh-my-zsh/oh-my-zsh.sh"

      
        
        10
        +source $HOME/.oh-my-zsh/oh-my-zsh.sh

      
        11
        11
         

      
        12
        12
         ## Tools

      
        13
        13
         eval $(fnm env)

      ···
        17
        17
         alias cls="clear" cp="cp -r" mkdir="mkdir -p"

      
        18
        18
         alias gor="go run" gob="go build" gog="go get"

      
        19
        19
         alias ...="cd ../.." .3="cd ../../.."

      
        20
        
        -alias v="nvim" vim="v" vi="vim" asdfi=". /opt/asdf-vm/asdf.sh"

      
        
        20
        +alias v="nvim" vim="v" vi="vim"

      
        
        21
        +alias asdfi=". /opt/asdf-vm/asdf.sh" sdki=". $HOME/.sdkman/bin/sdkman-init.sh"

      
        21
        22
         

      
        22
        23
         if [[ -f "/bin/exa" ]]; then

      
        23
        24
            alias ls="exa -l" ll="ls" la="ls -a"

      
        24
        25
         fi

      
        
        26
        +