all repos

dotfiles @ a4eeb4520173d6a2eab7b0ac83fee6a3e8789737

i use rach linux btw
6 files changed, 94 insertions(+), 18 deletions(-)
Add amfora
Author: Smirnov Alexander ss2316544@gmail.com
Committed at: 2021-04-02 19:52:57 +0300
Parent: 3bad265
A config/amfora/config.toml
···
        
        1
        +[a-general]

      
        
        2
        +home   = "gemini://gus.guru/search"

      
        
        3
        +search = "gemini://gus.guru/search"

      
        
        4
        +http           = "default"

      
        
        5
        +color          = true

      
        
        6
        +ansi           = true

      
        
        7
        +bullets        = true

      
        
        8
        +auto_redirect  = false

      
        
        9
        +emoji_favicons = false

      
        
        10
        +left_margin    = 0.15

      
        
        11
        +max_width      = 100

      
        
        12
        +downloads      = "Downloads"

      
        
        13
        +page_max_size  = 2097152

      
        
        14
        +page_max_time  = 10

      
        
        15
        +scrollbar      = "auto"

      
        
        16
        +

      
        
        17
        +

      
        
        18
        +[keybindings]

      
        
        19
        +bind_quit   = "q"

      
        
        20
        +bind_reload = "Ctrl-R"

      
        
        21
        +bind_save   = "Ctrl-S"

      
        
        22
        +bind_edit   = "I"

      
        
        23
        +bind_bottom = "i"

      
        
        24
        +

      
        
        25
        +# Navigation

      
        
        26
        +bind_back    = "H"

      
        
        27
        +bind_forward = "L"

      
        
        28
        +

      
        
        29
        +# Bookmaeks

      
        
        30
        +bind_bookmarks    = "b"

      
        
        31
        +bind_add_bookmark = "B"

      
        
        32
        +

      
        
        33
        +# Tab

      
        
        34
        +bind_new_tab   = "t"

      
        
        35
        +bind_close_tab = "T"

      
        
        36
        +bind_next_tab  = "J"

      
        
        37
        +bind_prev_tab  = "K"

      
        
        38
        +

      
        
        39
        +[[mediatype-handlers]]

      
        
        40
        +cmd       = ["feh"]

      
        
        41
        +types     = ["image"]

      
        
        42
        +no_prompt = true

      
        
        43
        +

      
        
        44
        +[cache]

      
        
        45
        +max_size  = 0

      
        
        46
        +max_pages = 30

      
        
        47
        +timeout   = 1800

      
        
        48
        +

      
        
        49
        +[subscriptions]

      
        
        50
        +popup            = true

      
        
        51
        +workers          = 3

      
        
        52
        +update_interval  = 1800

      
        
        53
        +entries_per_page = 20

      
        
        54
        +

      
        
        55
        +[theme]

      
        
        56
        +bg = "#262A2B"

      
        
        57
        +fg = "#dfdfdf"

      
        
        58
        +tab_num = "#797979"

      
        
        59
        +bottombar_text = "#dfdfdf"

      
        
        60
        +bottombar_bg = "#1F2324"

      
        
        61
        +scrollbar = "#1F2324"

      
        
        62
        +btn_bg = "#1F2324"

      
        
        63
        +btn_text = "#dfdfdf"

      
        
        64
        +

      
        
        65
        +[auth]

      
        
        66
        +[auth.certs]

      
        
        67
        +[auth.keys]

      
        
        68
        +[proxies]

      
M config/nvim/init.vim
···
        68
        68
         

      
        69
        69
         

      
        70
        70
         "== Aliases

      
        71
        
        -command! Term     :vs|wincmd L|vert res 50|set nonu nornu|startinsert|term

      
        72
        
        -command! Prettier :silent !prettier % --write

      
        73
        
        -command! ESlint   :!eslint %

      
        74
        
        -command! Black    :silent !black %

      
        
        71
        +command! W        :w

      
        
        72
        +command! Wq       :wq

      
        
        73
        +command! Term     :vs|wincmd L|set nonu nornu|startinsert|term

      
        
        74
        +command! Prettier :silent !prettier -w %

      
        75
        75
         command! AutoPep8 :silent !autopep8 % --in-place

      
        76
        
        -command! Flake8   :!flake8 %

      
        
        76
        +command! Black    :silent !black %

      
        
        77
        +command! Isort    :silent !isort %

      
        77
        78
         command! GoFmt    :silent !gofmt -w %

      
        78
        
        -command! GoLint   :!golint %

      
        79
        79
         

      
        80
        80
         

      
        81
        
        -"== Settings for specific files

      
        
        81
        +"== Settings for specific languages

      
        82
        82
         autocmd FileType python setlocal ex sw=4 ts=4

      
        83
        83
         autocmd FileType go setlocal noex sw=4 ts=4

      
        84
        84
         autocmd FileType javascript,javascriptreact,yaml setlocal et sw=2 ts=2

      ···
        86
        86
         

      
        87
        87
         "== ALE

      
        88
        88
         let g:ale_disable_lsp = 1

      
        
        89
        +let g:ale_sign_info = "•"

      
        
        90
        +let g:ale_sign_error = "•"

      
        
        91
        +let g:ale_sign_warning = "•"

      
        
        92
        +let g:ale_sign_style_error = "•"

      
        
        93
        +let g:ale_sign_style_warning = "•"

      
        89
        94
         let g:ale_echo_msg_format = '%severity%: %s'

      
        90
        95
         let g:ale_linters = {

      
        91
        96
         \ 'javascript': ['eslint'],

      ···
        95
        100
         

      
        96
        101
         

      
        97
        102
         "== NERDTree

      
        
        103
        +let NERDTreeIgnore = ["__pycache__", "*.pyc"]

      
        98
        104
         let g:NERDTreeWinPos = "right"

      
        99
        105
         let g:NERDTreeMinimalUI = 1

      
        100
        106
         let g:NERDTreeWinSize = 24

      ···
        124
        130
         " Split

      
        125
        131
         nnoremap spv :vsp<CR>

      
        126
        132
         nnoremap sph :sp<CR>

      
        127
        
        -nnoremap spj :wincmd K<CR>

      
        128
        
        -nnoremap spk :wincmd L<CR>

      
        
        133
        +nnoremap spk :wincmd K<CR>

      
        
        134
        +nnoremap spl :wincmd L<CR>

      
        129
        135
         

      
        130
        136
         " Tab

      
        131
        137
         nnoremap tn :tabnew<CR>

      ···
        142
        148
         " Buffer

      
        143
        149
         nnoremap <leader>j :bnext<CR>

      
        144
        150
         nnoremap <leader>k :bprev<CR>

      
        145
        
        -nnoremap <leader>h :bdele<CR>

      
        
        151
        +nnoremap <leader>c :bdele<CR>

      
        
        152
        +nnoremap <leader>b :buffers<CR>

      
        146
        153
         

      
        147
        154
         " Working with system clipboard

      
        148
        155
         noremap <leader>c "+y<CR>

      
M gitconfig
···
        1
        1
         [user]

      
        2
        
        -  name = Smirnov Alexandr

      
        
        2
        +  name = Smirnov Alexander

      
        3
        3
           email = ss2316544@gmail.com

      
        4
        4
         

      
        5
        5
         [core]

      
M tmux.conf
···
        20
        20
         

      
        21
        21
         ## HOME/END key support

      
        22
        22
         bind-key -n Home send Escape "OH"

      
        23
        
        -bind-key -n End send Escape "OF"

      
        
        23
        +bind-key -n End  send Escape "OF"

      
        24
        24
         

      
        25
        25
         ## Reload config

      
        26
        26
         bind r source-file ~/.tmux.conf \; display 'Reloaded tmux config'

      
        27
        27
         

      
        28
        
        -## Vim keys for change/resize window

      
        
        28
        +## Vim keys for change window

      
        29
        29
         bind -r h select-pane -L

      
        30
        30
         bind -r j select-pane -D

      
        31
        31
         bind -r k select-pane -U

      
        32
        32
         bind -r l select-pane -R

      
        33
        33
         

      
        
        34
        +## Vim keys for resize window

      
        34
        35
         bind -r H resize-pane -L 2

      
        35
        36
         bind -r J resize-pane -D 2

      
        36
        37
         bind -r K resize-pane -U 2

      
M vscode/settings.json
···
        7
        7
           "workbench.startupEditor": "newUntitledFile",

      
        8
        8
           "editor.formatOnPaste": true,

      
        9
        9
           "editor.minimap.enabled": false,

      
        10
        
        -  "explorer.confirmDelete": false,

      
        11
        
        -  "explorer.confirmDragAndDrop": false,

      
        
        10
        +  "explorer.confirmDelete": false, "explorer.confirmDragAndDrop": false, "window.menuBarVisibility": "hidden",

      
        12
        11
           "workbench.sideBar.location": "right",

      
        13
        
        -  "window.menuBarVisibility": "hidden",

      
        
        12
        +  "workbench.panel.defaultLocation": "right",

      
        
        13
        +  "terminal.external.linuxExec": "kitty",

      
        14
        14
         

      
        15
        15
           "editor.tabCompletion": "on",

      
        16
        16
           "editor.tabSize": 4,

      
M zshrc
···
        1
        
        -export PATH="$HOME/.yarn/bin:$HOME/bin:$HOME/.local/bin:$HOME/go/bin:$PATH"

      
        
        1
        +export PATH="$HOME/.yarn/bin:$HOME/bin:$HOME/.local/bin:$HOME/go/bin:$HOME/.golang/bin:$PATH"

      
        2
        2
         export EDITOR="nvim"

      
        3
        3
         export GOPATH="$HOME/go"

      
        4
        4
         

      ···
        6
        6
         export OMH="$HOME/.oh-my-zsh"

      
        7
        7
         ZSH_THEME="simple"

      
        8
        8
         DISABLE_AUTO_TITLE="true"

      
        9
        
        -plugins=(yarn nvm)

      
        
        9
        +plugins=(yarn)

      
        10
        10
         source $OMH/oh-my-zsh.sh

      
        11
        11
         

      
        12
        12
         ### Aliases