all repos

dotfiles @ 4e2f196e266846b8f4271876fe1bcd2f0b8a71db

i use rach linux btw
5 files changed, 37 insertions(+), 173 deletions(-)
Update bash, dunst, nvim config
Author: Smirnov Olexandr ss2316544@gmail.com
Committed at: 2020-12-25 16:16:26 +0200
Parent: ae217b0
M bashrc
···
        
        1
        +export PATH="$HOME/bin:$HOME/.local/bin:$PATH"

      
        1
        2
         source ~/.profile

      
        2
        3
         #source ~/.env

      
        3
        4
         

      ···
        18
        19
         alias df="df -h"

      
        19
        20
         alias cp="cp -r" 

      
        20
        21
         alias :q="exit"

      
        21
        
        -

      
        22
        22
         alias ..='cd ..'

      
        23
        23
         alias ...='cd ../..'

      
        24
        24
         alias .3='cd ../../..'

      
        25
        25
         alias .4='cd ../../../..'

      
        26
        26
         alias .5='cd ../../../../..'

      
        27
        27
         alias .6='cd ../../../../../..'

      
        28
        
        -

      
        29
        
        -alias tofish="chsh -s /bin/fish && echo 'Now log out.'"

      
        30
        
        -alias tozsh="chsh -s /bin/zsh && echo 'Now log out.'"

      
        31
        
        -alias tobash="chsh -s /bin/bash && echo 'Now log out.'"

      
M config/dunst/dunstrc
···
        1
        1
         [global]

      
        2
        2
             monitor = 0

      
        3
        3
             follow = mouse

      
        4
        
        -    geometry = "250x50-10+30"

      
        
        4
        +    geometry = "250x50-5+30"

      
        5
        5
             indicate_hidden = yes

      
        6
        6
             shrink = no

      
        7
        7
             transparency = 0

      
D config/mc/ini
···
        1
        
        -[Midnight-Commander]

      
        2
        
        -verbose=true

      
        3
        
        -shell_patterns=true

      
        4
        
        -auto_save_setup=true

      
        5
        
        -preallocate_space=false

      
        6
        
        -auto_menu=false

      
        7
        
        -use_internal_view=true

      
        8
        
        -use_internal_edit=true

      
        9
        
        -clear_before_exec=true

      
        10
        
        -confirm_delete=true

      
        11
        
        -confirm_overwrite=true

      
        12
        
        -confirm_execute=false

      
        13
        
        -confirm_history_cleanup=true

      
        14
        
        -confirm_exit=false

      
        15
        
        -confirm_directory_hotlist_delete=false

      
        16
        
        -confirm_view_dir=false

      
        17
        
        -safe_delete=false

      
        18
        
        -safe_overwrite=false

      
        19
        
        -use_8th_bit_as_meta=false

      
        20
        
        -mouse_move_pages_viewer=true

      
        21
        
        -mouse_close_dialog=false

      
        22
        
        -fast_refresh=false

      
        23
        
        -drop_menus=false

      
        24
        
        -wrap_mode=true

      
        25
        
        -old_esc_mode=true

      
        26
        
        -cd_symlinks=true

      
        27
        
        -show_all_if_ambiguous=false

      
        28
        
        -use_file_to_guess_type=true

      
        29
        
        -alternate_plus_minus=false

      
        30
        
        -only_leading_plus_minus=true

      
        31
        
        -show_output_starts_shell=false

      
        32
        
        -xtree_mode=false

      
        33
        
        -file_op_compute_totals=true

      
        34
        
        -classic_progressbar=true

      
        35
        
        -use_netrc=true

      
        36
        
        -ftpfs_always_use_proxy=false

      
        37
        
        -ftpfs_use_passive_connections=true

      
        38
        
        -ftpfs_use_passive_connections_over_proxy=false

      
        39
        
        -ftpfs_use_unix_list_options=true

      
        40
        
        -ftpfs_first_cd_then_ls=true

      
        41
        
        -ignore_ftp_chattr_errors=true

      
        42
        
        -editor_fill_tabs_with_spaces=false

      
        43
        
        -editor_return_does_auto_indent=true

      
        44
        
        -editor_backspace_through_tabs=false

      
        45
        
        -editor_fake_half_tabs=true

      
        46
        
        -editor_option_save_position=true

      
        47
        
        -editor_option_auto_para_formatting=false

      
        48
        
        -editor_option_typewriter_wrap=false

      
        49
        
        -editor_edit_confirm_save=true

      
        50
        
        -editor_syntax_highlighting=true

      
        51
        
        -editor_persistent_selections=true

      
        52
        
        -editor_drop_selection_on_copy=true

      
        53
        
        -editor_cursor_beyond_eol=false

      
        54
        
        -editor_cursor_after_inserted_block=false

      
        55
        
        -editor_visible_tabs=true

      
        56
        
        -editor_visible_spaces=true

      
        57
        
        -editor_line_state=false

      
        58
        
        -editor_simple_statusbar=false

      
        59
        
        -editor_check_new_line=false

      
        60
        
        -editor_show_right_margin=false

      
        61
        
        -editor_group_undo=false

      
        62
        
        -editor_state_full_filename=false

      
        63
        
        -editor_ask_filename_before_edit=false

      
        64
        
        -nice_rotating_dash=true

      
        65
        
        -mcview_remember_file_position=false

      
        66
        
        -auto_fill_mkdir_name=true

      
        67
        
        -copymove_persistent_attr=true

      
        68
        
        -pause_after_run=1

      
        69
        
        -mouse_repeat_rate=100

      
        70
        
        -double_click_speed=250

      
        71
        
        -old_esc_mode_timeout=1000000

      
        72
        
        -max_dirt_limit=10

      
        73
        
        -num_history_items_recorded=60

      
        74
        
        -vfs_timeout=60

      
        75
        
        -ftpfs_directory_timeout=900

      
        76
        
        -ftpfs_retry_seconds=30

      
        77
        
        -fish_directory_timeout=900

      
        78
        
        -editor_tab_spacing=8

      
        79
        
        -editor_word_wrap_line_length=72

      
        80
        
        -editor_option_save_mode=0

      
        81
        
        -editor_backup_extension=~

      
        82
        
        -editor_filesize_threshold=64M

      
        83
        
        -editor_stop_format_chars=-+*\\,.;:&>

      
        84
        
        -mcview_eof=

      
        85
        
        -skin=nicedark

      
        86
        
        -

      
        87
        
        -filepos_max_saved_entries=1024

      
        88
        
        -

      
        89
        
        -[Layout]

      
        90
        
        -output_lines=0

      
        91
        
        -left_panel_size=28

      
        92
        
        -top_panel_size=0

      
        93
        
        -message_visible=true

      
        94
        
        -keybar_visible=true

      
        95
        
        -xterm_title=true

      
        96
        
        -command_prompt=true

      
        97
        
        -menubar_visible=true

      
        98
        
        -free_space=true

      
        99
        
        -horizontal_split=false

      
        100
        
        -vertical_equal=true

      
        101
        
        -horizontal_equal=true

      
        102
        
        -

      
        103
        
        -[Misc]

      
        104
        
        -timeformat_recent=%b %e %H:%M

      
        105
        
        -timeformat_old=%b %e  %Y

      
        106
        
        -ftp_proxy_host=gate

      
        107
        
        -ftpfs_password=anonymous@

      
        108
        
        -display_codepage=UTF-8

      
        109
        
        -source_codepage=Other_8_bit

      
        110
        
        -autodetect_codeset=

      
        111
        
        -clipboard_store=

      
        112
        
        -clipboard_paste=

      
        113
        
        -

      
        114
        
        -[Colors]

      
        115
        
        -base_color=

      
        116
        
        -alacritty=

      
        117
        
        -color_terminals=

      
        118
        
        -

      
        119
        
        -xterm-256color=

      
        120
        
        -

      
        121
        
        -[Panels]

      
        122
        
        -show_mini_info=true

      
        123
        
        -kilobyte_si=false

      
        124
        
        -mix_all_files=false

      
        125
        
        -show_backups=true

      
        126
        
        -show_dot_files=true

      
        127
        
        -fast_reload=false

      
        128
        
        -fast_reload_msg_shown=false

      
        129
        
        -mark_moves_down=true

      
        130
        
        -reverse_files_only=true

      
        131
        
        -auto_save_setup_panels=false

      
        132
        
        -navigate_with_arrows=false

      
        133
        
        -panel_scroll_pages=true

      
        134
        
        -panel_scroll_center=false

      
        135
        
        -mouse_move_pages=true

      
        136
        
        -filetype_mode=true

      
        137
        
        -permission_mode=false

      
        138
        
        -torben_fj_mode=false

      
        139
        
        -quick_search_mode=2

      
        140
        
        -select_flags=6

      
        141
        
        -

      
        142
        
        -[Panelize]

      
        143
        
        -Find *.orig after patching=find . -name \\*.orig -print

      
        144
        
        -Find SUID and SGID programs=find . \\( \\( -perm -04000 -a -perm /011 \\) -o \\( -perm -02000 -a -perm /01 \\) \\) -print

      
        145
        
        -Find rejects after patching=find . -name \\*.rej -print

      
        146
        
        -Modified git files=git ls-files --modified

      
M config/nvim/init.vim
···
        2
        2
             Plug 'itchyny/lightline.vim'

      
        3
        3
             Plug 'nathanaelkane/vim-indent-guides'

      
        4
        4
             Plug 'Smirnov-O/nten16.vim'

      
        5
        
        -    Plug 'iamcco/markdown-preview.nvim', { 'for': 'markdown' }

      
        6
        
        -    Plug 'dhruvasagar/vim-table-mode', { 'for': 'markdown' }

      
        
        5
        +    Plug 'vim-scripts/bclear'

      
        7
        6
             Plug 'easymotion/vim-easymotion'

      
        8
        7
             Plug 'voldikss/vim-floaterm', { 'on': 'FloatermNew' }

      
        9
        8
             Plug 'mhinz/vim-startify'

      
        10
        
        -    Plug 'vim-python/python-syntax'

      
        11
        9
             Plug 'severin-lemaignan/vim-minimap'

      
        12
        10
             Plug 'frazrepo/vim-rainbow'

      
        
        11
        +    Plug 'preservim/tagbar', { 'on': 'TagbarToggle' } 

      
        
        12
        +    Plug 'airblade/vim-gitgutter'

      
        13
        13
         

      
        14
        14
             " File manger & seacher

      
        15
        15
             Plug 'scrooloose/nerdtree', { 'on':  'NERDTreeToggle' }

      ···
        21
        21
             Plug 'neoclide/coc.nvim', {'branch': 'release'}

      
        22
        22
         

      
        23
        23
             " Language support

      
        
        24
        +    Plug 'iamcco/markdown-preview.nvim', { 'for': 'markdown' }

      
        
        25
        +    Plug 'dhruvasagar/vim-table-mode', { 'for': 'markdown' }

      
        24
        26
             Plug 'pangloss/vim-javascript', { 'for': 'javascript' }

      
        25
        27
             Plug 'PotatoesMaster/i3-vim-syntax', { 'for': 'i3' }

      
        26
        28
             Plug 'kovetskiy/sxhkd-vim', { 'for': 'sxhkd' }

      
        27
        29
             Plug 'mattn/emmet-vim', { 'on': 'Emmet' }

      
        28
        30
             Plug 'Olical/vim-scheme', { 'for': 'scheme' }

      
        29
        31
             Plug 'cakebaker/scss-syntax.vim', { 'for': 'scss' }

      
        
        32
        +    Plug 'vim-python/python-syntax', { 'for': 'python' }

      
        
        33
        +    Plug 'vim-scripts/indentpython.vim', { 'for': 'python' }

      
        30
        34
             Plug 'dag/vim-fish', { 'for': 'fish' }

      
        31
        35
             Plug 'plasticboy/vim-markdown', { 'for': 'markdown' }

      
        32
        36
             Plug 'ap/vim-css-color'

      ···
        35
        39
         set termguicolors

      
        36
        40
         set background=dark

      
        37
        41
         colorscheme nten16

      
        
        42
        +set t_Co=256

      
        38
        43
         

      
        
        44
        +" Syntax & line numbars

      
        
        45
        +syntax on

      
        39
        46
         set number

      
        40
        47
         set relativenumber

      
        41
        48
         

      
        42
        
        -syntax on

      
        
        49
        +" Vim status line

      
        
        50
        +set noshowmode

      
        43
        51
         set ruler

      
        44
        
        -set t_Co=256

      
        
        52
        +set showmode

      
        
        53
        +set showcmd

      
        45
        54
         

      
        
        55
        +" Mouse

      
        46
        56
         set mouse=a

      
        47
        57
         set mousehide

      
        
        58
        +set cursorline

      
        48
        59
         

      
        
        60
        +" File encoding

      
        49
        61
         set encoding=utf-8

      
        50
        62
         set fileencodings=utf8,cp1251

      
        51
        63
         

      
        52
        
        -set cursorline

      
        53
        
        -

      
        
        64
        +" Line wrap

      
        54
        65
         set nowrap

      
        55
        66
         set nolinebreak

      
        56
        67
         

      
        
        68
        +" Backup files & history

      
        57
        69
         set nobackup

      
        58
        70
         set noswapfile

      
        59
        71
         set history=100

      
        60
        
        -set autoread

      
        61
        72
         

      
        62
        
        -set showmode

      
        63
        
        -set showcmd

      
        
        73
        +" Auto reload file

      
        
        74
        +set autoread

      
        64
        75
         

      
        
        76
        +" Tabs

      
        65
        77
         set tabstop=4

      
        66
        78
         set shiftwidth=4

      
        67
        79
         set softtabstop=4

      
        68
        80
         set expandtab

      
        69
        81
         set autoindent

      
        70
        82
         

      
        
        83
        +" Search

      
        71
        84
         set incsearch

      
        72
        85
         set ignorecase

      
        73
        86
         set smartcase

      
        74
        87
         

      
        
        88
        +" Buffer

      
        75
        89
         set hidden

      
        76
        90
         set smartindent

      
        77
        91
         

      
        
        92
        +" Disable sound

      
        78
        93
         set visualbell t_vb=

      
        79
        94
         

      
        80
        95
         " == Plugins configure

      
        
        96
        +

      
        81
        97
         " Lightline

      
        82
        
        -set noshowmode

      
        83
        98
         let g:lightline = {

      
        84
        99
         \ 'colorscheme': 'nten16',

      
        85
        100
         \ 'active': {

      ···
        93
        108
         " Nerdtree

      
        94
        109
         map <C-b> :NERDTreeToggle<CR>

      
        95
        110
         let g:NERDTreeWinPos="right"

      
        
        111
        +let g:NERDTreeWinSize=28

      
        96
        112
         let NERDTreeIgnore = ['__pycache__', '\.pyc$', '\.o$', '\.so$', '\.a$', '\.swp', '*\.swp', '\.swo', '\.swn', '\.swh', '\.swm', '\.swl', '\.swk', '\.sw*$', '[a-zA-Z]*egg[a-zA-Z]*', '.DS_Store']

      
        97
        113
         let NERDTreeMinimalUI=1

      
        98
        114
         let NERDTreeShowLineNumbers=1

      
        99
        115
         let NERDTreeShowHidden=0

      
        100
        
        -let g:NERDTreeWinSize=28

      
        101
        116
         

      
        102
        117
         " Coc

      
        103
        118
         inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"

      ···
        140
        155
         " Rainbow

      
        141
        156
         let g:rainbow_active = 1 

      
        142
        157
         

      
        143
        
        -" Minimap

      
        144
        
        -let g:minimap_highlight='Visual'

      
        
        158
        +" TagBar

      
        
        159
        +imap <F9> :TagbarToggle<CR>

      
        
        160
        +nmap <F9> :TagbarToggle<CR>

      
        
        161
        +map <F9> :TagbarToggle<CR>

      
        
        162
        +let g:tagbar_autoclose = 1

      
        
        163
        +let g:tagbar_width = 18

      
        
        164
        +let g:tagbar_left = 1

      
        145
        165
         

      
        146
        
        -" Floaterm\

      
        
        166
        +" Floaterm

      
        147
        167
         nmap <A-t> :FloatermNew --title=vimterminal --position=top --autoclose=2<CR>

      
        148
        168
         

      
        149
        169
         " == Maping

      
        150
        
        -"imap fd <Esc>

      
        151
        170
         let mapleader=","

      
        152
        171
         

      
        153
        172
         " Window

      
M zshrc
···
        44
        44
         alias du="du -sh"

      
        45
        45
         alias df="df -h"

      
        46
        46
         alias icat="kitty +kitten icat"

      
        47
        
        -

      
        48
        47
         alias ..="cd .."

      
        49
        48
         alias ...="cd ../.."

      
        50
        49
         alias .3="cd ../../.."

      
        51
        50
         alias .4="cd ../../../.."

      
        52
        51
         alias .5="cd ../../../../.."

      
        53
        52
         alias .6="cd ../../../../../.."

      
        54
        
        -

      
        55
        
        -alias tozsh="chsh -s /bin/zsh && echo 'Now log out.'"

      
        56
        
        -alias tofish="chsh -s /bin/fish && echo 'Now log out.'"

      
        57
        
        -alias tobash="chsh -s /bin/bash && echo 'Now log out.'"