all repos

dotfiles @ 2aa9b9ef5acf7a0710747a0765d40a76ee6b9bbd

i use rach linux btw
2 files changed, 23 insertions(+), 25 deletions(-)
Updata bashrc, vimrc
Author: Smirnov Sasha ss2316544@gmail.com
Committed at: 2020-05-20 21:29:02 +0300
Parent: e060239
jump to
M bashrc
M vimrc
M bashrc
···
                1
                1
                 export VISUAL="vim"

              
                2
                2
                 [[ $- != *i* ]] && return

              
                3
                3
                 alias ls='ls --color=auto'

              
                4
                
                -PS1='\u@\h \W \$ '

              
                5
                
                -stty -ixon

              
                6
                
                -

              
                
                4
                +PS1='\e[36m\w\e[39m '

              
                7
                5
                 alias cls='clear'

              
                8
                
                -alias sl='ls'

              
                9
                
                -alias cd..='cd ..'

              
                10
                6
                 alias py='python3'

              
                
                7
                +alias ipy='ipython3'

              
                11
                8
                 alias py3='python3'

              
                
                9
                +alias ipy3='ipython3'

              
M vimrc
···
                6
                6
                 

              
                7
                7
                 set nocompatible    " be iMproved

              
                8
                8
                 

              
                9
                
                -set number		    " Number line

              
                
                9
                +set number          " Number line

              
                10
                10
                 set relativenumber  " Number line

              
                11
                11
                 

              
                12
                
                -syntax on		    " Support syntax

              
                13
                
                -set mouse=a		    " Mousr support

              
                14
                
                -set ruler		    " Cursor position

              
                15
                
                -set t_Co=256		" Enable 265 colors

              
                
                12
                +syntax on           " Support syntax

              
                
                13
                +set mouse=a         " Mousr support

              
                
                14
                +set ruler           " Cursor position

              
                
                15
                +set t_Co=256        " Enable 265 colors

              
                16
                16
                 

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

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

              
                18
                18
                 set fileencodings=utf8,cp1251

              
                19
                19
                 

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

              
                21
                
                -set wrap	    	" Line wrappingv

              
                22
                
                -set linebreak      	" Line wrappingv

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

              
                
                21
                +set wrap            " Line wrappingv

              
                
                22
                +set linebreak       " Line wrappingv

              
                23
                23
                 

              
                24
                
                -set nobackup		" Disable backup files

              
                25
                
                -set noswapfile		" Disable *.swp files

              
                26
                
                -set history=1000	" History size 1000 edits

              
                27
                
                -set autoread		" Auto reade file for edit

              
                
                24
                +set nobackup        " Disable backup files

              
                
                25
                +set noswapfile      " Disable *.swp files

              
                
                26
                +set history=1000    " History size 1000 edits

              
                
                27
                +set autoread        " Auto reade file for edit

              
                28
                28
                 

              
                29
                29
                 set showmode

              
                30
                30
                 set showcmd

              
                31
                31
                 

              
                32
                32
                 " Tab

              
                33
                
                -set tabstop=4		" Tab size 4

              
                
                33
                +set tabstop=4       " Tab size 4

              
                34
                34
                 set shiftwidth=4    " Tab size 4

              
                35
                35
                 set softtabstop=4   " Tab size 4

              
                36
                
                -set expandtab		" Tab consist of space

              
                
                36
                +set expandtab       " Tab consist of space

              
                37
                37
                 set smarttab

              
                38
                38
                 set autoindent

              
                39
                39
                 

              
                40
                40
                 

              
                41
                41
                 " Search

              
                42
                
                -set incsearch		" Highlighted

              
                43
                
                -set ignorecase		" Highlighted

              
                44
                
                -set smartcase		" Smart Rigger

              
                
                42
                +set incsearch       " Highlighted

              
                
                43
                +set ignorecase      " Highlighted

              
                
                44
                +set smartcase   " Smart Rigger

              
                45
                45
                 

              
                46
                46
                 " Buffers

              
                47
                47
                 set hidden

              ···
                60
                60
                 """"""""""

              
                61
                61
                 " MAPING "

              
                62
                62
                 """"""""""

              
                63
                
                -let mapleader=','	" Leader key

              
                
                63
                +let mapleader=','   " Leader key

              
                64
                64
                 

              
                65
                65
                 " Smart way to move between windows

              
                66
                66
                 map <C-j> <C-W>j

              ···
                69
                69
                 map <C-l> <C-W>l

              
                70
                70
                 

              
                71
                71
                 " Tabs

              
                72
                
                -map <leader>tn :tabnew<CR>      " CReate new tab

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

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

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

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