all repos

dotfiles @ 4901ad0

i use rach linux btw
4 files changed, 34 insertions(+), 40 deletions(-)
Update
Author: Smirnov Olexandr ss2316544@gmail.com
Committed at: 2020-06-05 18:29:47 +0300
Parent: ad443ef
M README.md
···
        18
        18
         vim +source~/.vimrc +PlugInstall

      
        19
        19
         ~~~

      
        20
        20
         

      
        21
        
        -### Screenshot

      
        
        21
        +### Screen-shot

      
        
        22
        +

      
        
        23
        +![](https://i.imgur.com/yHVgYZ7.png)

      
        22
        24
         

      
        23
        
        -![](https://i.imgur.com/D47eTO9.png)

      
        
        25
        +---

      
        
        26
        +

      
        
        27
        +[Oh my ZSH](https://github.com/ohmyzsh/ohmyzsh)

      
        
        28
        +

      
        
        29
        +[Oh my Tmux](https://github.com/gpakosz/.tmux)

      
M install.sh
···
        1
        1
         #!/bin/bash

      
        2
        
        -read -p "All your git, vim, bash, tmux, zsh settings will be deleted [y/n]" CONTINUE

      
        
        2
        +read -p "All your git, vim, bash, tmux, zsh settings will be deleted [y/n]: " CONTINUE

      
        3
        3
         

      
        4
        4
         if [[ "$CONTINUE" = "y" ]] || [[ "$CONTINUE" = "Y" ]]; then

      
        5
        5
             rm -rf ~/.vimrc ~/.vim

      
        6
        6
             rm -rf ~/.gitconfig ~/.git

      
        7
        7
             rm -rf ~/.bashrc ~/.bash

      
        8
        8
             rm -rf ~/.tmux ~/.tmux

      
        9
        
        -    rm -rf ~/.zshrci

      
        
        9
        +    rm -rf ~/.zshrc

      
        10
        10
         fi

      
        11
        11
         

      
        12
        12
         read -p "Install vim config [y/n]: " VIM_CONF

      ···
        41
        41
         	sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

      
        42
        42
         	mv zshrc ~/.zshrc

      
        43
        43
         fi

      
        
        44
        +

      
        
        45
        +if [[ "$VIM_CONF" = "y" ]] || [[ "$VIM_CONF" = "Y" ]]; then

      
        
        46
        +    clear

      
        
        47
        +    echo "vim +source~/.vimrc +PlugInstall"

      
        
        48
        +    echo "For install plugins in vim"

      
        
        49
        +fi

      
M tmux.conf.local
···
        248
        248
         #set -g history-limit 10000

      
        249
        249
         

      
        250
        250
         # start with mouse mode enabled

      
        251
        
        -#set -g mouse on

      
        
        251
        +set -g mouse on

      
        252
        252
         

      
        253
        253
         # force Vi mode

      
        254
        254
         #   really you should export VISUAL or EDITOR environment variable, see manual

      ···
        263
        263
         # bind C-a send-prefix

      
        264
        264
         

      
        265
        265
         # move status line to top

      
        266
        
        -#set -g status-position top
      
        
        266
        +#set -g status-position top

      
M vimrc
···
        1
        1
         call plug#begin('~/.vim/plugged')

      
        2
        2
         Plug 'jiangmiao/auto-pairs'             " Automapic closing of quotes

      
        3
        3
         Plug 'flazz/vim-colorschemes'           " ColorChemes pack

      
        4
        
        -Plug 'airblade/vim-gitgutter'           " Git indecator

      
        
        4
        +    "Plug 'airblade/vim-gitgutter'          " Git indecator

      
        
        5
        +    "Plug 'pangloss/vim-javascript'         " JS syntax support

      
        5
        6
         call plug#end()

      
        6
        7
         

      
        7
        8
         set nocompatible    " be iMproved

      
        8
        9
         

      
        9
        
        -set number          " Number line

      
        10
        
        -set relativenumber  " Number line

      
        
        10
        +"set number         " Number line

      
        
        11
        +"set relativenumber " Number line

      
        11
        12
         

      
        12
        13
         syntax on           " Support syntax

      
        13
        
        -set mouse=a         " Mousr support

      
        14
        14
         set ruler           " Cursor position

      
        15
        15
         set t_Co=256        " Enable 265 colors

      
        16
        16
         

      
        
        17
        +set mouse=a         " Mouse support

      
        
        18
        +set mousehide       " Mouse hide 

      
        
        19
        +

      
        17
        20
         set encoding=utf-8  " Use utf-8 encoding

      
        18
        21
         set fileencodings=utf8,cp1251

      
        19
        22
         

      
        20
        
        -set cursorline      " The line with the cursor will be highlighted

      
        
        23
        +"set cursorline      " The line with the cursor will be highlighted

      
        21
        24
         set wrap            " Line wrappingv

      
        22
        25
         set linebreak       " Line wrappingv

      
        23
        26
         

      
        24
        27
         set nobackup        " Disable backup files

      
        25
        28
         set noswapfile      " Disable *.swp files

      
        26
        
        -set history=1000    " History size 1000 edits

      
        
        29
        +set history=50      " History size 1000 edits

      
        27
        30
         set autoread        " Auto reade file for edit

      
        28
        31
         

      
        29
        32
         set showmode

      ···
        36
        39
         set expandtab       " Tab consist of space

      
        37
        40
         set smarttab

      
        38
        41
         set autoindent

      
        39
        
        -

      
        40
        42
         

      
        41
        43
         " Search

      
        42
        44
         set incsearch       " Highlighted

      
        43
        45
         set ignorecase      " Highlighted

      
        44
        
        -set smartcase   " Smart Rigger

      
        
        46
        +set smartcase       " Smart Rigger

      
        45
        47
         

      
        46
        48
         " Buffers

      
        47
        49
         set hidden

      ···
        55
        57
         " Color cheme list

      
        56
        58
         " Dark: adventurs, Atelier_DuneLight, colorsbox-material, colorsbox-faff, OceanicNext, gruvbox, Monokai, material

      
        57
        59
         " Light: newspaper, wikipedia, Atelier_CaveLight, mac_classic

      
        58
        
        -" Outher: off

      
        
        60
        +

      
        
        61
        +" Python

      
        
        62
        +let python_highlight_all = 1

      
        
        63
        +autocmd BufWritePre *.py normal m`:%s/\s\+$//e `

      
        
        64
        +autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class

      
        59
        65
         

      
        60
        66
         """"""""""

      
        61
        67
         " MAPING "

      ···
        70
        76
         

      
        71
        77
         " Tabs

      
        72
        78
         map <leader>tn :tabnew<CR>      " Create new tab

      
        73
        
        -map <leader>to :tabonly<CR>     " Kill all tab

      
        74
        79
         map <leader>tc :tabclose<CR>    " Tab kill

      
        75
        80
         map <leader>1 :tabn 1<CR>       " Change tab

      
        76
        81
         map <leader>2 :tabn 2<CR>       " Change tab

      ···
        81
        86
         map <leader>7 :tabn 7<CR>       " Change tab

      
        82
        87
         map <leader>8 :tabn 8<CR>       " Change tab

      
        83
        88
         map <leader>9 :tabn 9<CR>       " Change tab

      
        84
        
        -map <leader>0 :tablast<CR>      " Change tab

      
        85
        
        -

      
        86
        
        -" Russian letters

      
        87
        
        -map ш i

      
        88
        
        -map м v

      
        89
        
        -map ч x

      
        90
        
        -map в d

      
        91
        
        -map р h

      
        92
        
        -map п g

      
        93
        
        -map о j

      
        94
        
        -map л k

      
        95
        
        -map д l

      
        96
        89
         

      
        97
        90
         " Bufer

      
        98
        91
         nnoremap <C-N> :bnext<CR>

      
        99
        92
         nnoremap <C-P> :bprev<CR>

      
        100
        93
         

      
        101
        
        -" Unmap arrows

      
        102
        
        -noremap <Up> <NOP>

      
        103
        
        -noremap <Down> <NOP>

      
        104
        
        -noremap <Left> <NOP>

      
        105
        
        -noremap <Right> <NOP>

      
        106
        
        -

      
        107
        94
         """"""""

      
        108
        95
         " GVIM "

      
        109
        96
         """"""""

      
        110
        97
         if has("gui_running")

      
        111
        98
             set guioptions -=m

      
        112
        99
             set guioptions -=T

      
        113
        
        -    map <leader>p "+gP          " Past test in buffer

      
        
        100
        +    map <leader>p "+gP          " Past text in buffer

      
        114
        101
             map <C-Tab> :tabnext<cr>    " Change tab

      
        115
        102
             map <C-S-Tab> :tabprev<cr>  " Change tab

      
        116
        103
         endif

      
        117
        
        -

      
        118
        
        -" Python

      
        119
        
        -let python_highlight_all = 1

      
        120
        
        -autocmd BufWritePre *.py normal m`:%s/\s\+$//e `

      
        121
        
        -autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class