all repos

dotfiles @ baed534f32d0b3af4e4a14592944903b468f2e33

i use rach linux btw
1 files changed, 23 insertions(+), 49 deletions(-)
Update vimrc
Author: Smirnov Oleksandr 50584123+Smirnov-O@users.noreply.github.com
Committed by: GitHub noreply@github.com
Committed at: 2020-04-19 22:21:45 +0300
Parent: 145068a
M vimrc
···
                1
                1
                 call plug#begin('~/.vim/plugged')

              
                2
                
                -Plug 'scrooloose/nerdtree', { 'on': 'NERTreeToggle' }	"Side bar, tree

              
                3
                
                -Plug 'flazz/vim-colorschemes'				"Color thems

              
                4
                
                -Plug 'airblade/vim-gitgutter'				"Git startus line

              
                5
                
                -Plug 'tpope/vim-fugitive'				"Git comands in vim

              
                6
                
                -Plug 'Vimjas/vim-python-pep8-indent', {'for': 'python'}	"Python syntax

              
                7
                
                -Plug 'stanangeloff/php.vim', {'for': 'php'}		"PHP syntax

              
                8
                
                -Plug 'pangloss/vim-javascript', {'for': 'js'}		"JavaScript syntax

              
                9
                
                -Plug 'ap/vim-css-color', {'for': 'css'}			"Hilighting color in css

              
                10
                
                -Plug 'auxiliary/vim-layout', {'for': 'sh'}		"BASH syntax

              
                11
                
                -Plug 'iamcco/markdown-preview.vim', {'for': 'markdown'} "MarkDown syntax

              
                12
                
                -Plug 'elzr/vim-json', {'for': 'json'}			"JSON syntax

              
                13
                
                -Plug 'stacruz/sparkup'					"A parser for a condensed HTML

              
                
                2
                +Plug 'klen/python-mode', { 'for': 'python' }

              
                
                3
                +Plug 'vim-ruby/vim-ruby', { 'for': 'ruby' }

              
                
                4
                +Plug 'fatih/vim-go', { 'for': 'go' }

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

              
                
                6
                +Plug 'airblade/vim-gitgutter'

              
                
                7
                +Plug 'tpope/vim-fugitive'

              
                14
                8
                 Plug 'jiangmiao/auto-pairs'

              
                
                9
                +Plug 'flazz/vim-colorschemes'

              
                15
                10
                 Plug 'kien/ctrlp.vim'

              
                16
                11
                 call plug#end()

              
                17
                12
                 

              
                
                13
                +set number

              
                18
                14
                 syntax on

              
                19
                
                -set number

              
                
                15
                +set incsearch

              
                
                16
                +set hlsearch

              
                20
                17
                 set ignorecase

              
                21
                
                -set hlsearch

              
                22
                
                -set incsearch

              
                23
                18
                 set smartcase

              
                
                19
                +set nocompatible

              
                
                20
                +set ruler

              
                
                21
                +set mouse=a

              
                
                22
                +set hidden

              
                24
                23
                 set autoindent

              
                25
                24
                 set smartindent

              
                26
                
                -set mouse=a

              
                
                25
                +set history=150

              
                27
                26
                 set termencoding=utf8

              
                28
                27
                 set guifont=DroidSansMono\ Nerd\ Font\ 11

              
                29
                28
                 set t_Co=256

              
                30
                29
                 set background=dark

              
                31
                30
                 colorscheme OceanicNext

              
                32
                
                -set nocompatible 

              
                33
                
                -filetype off

              
                34
                
                -set encoding=utf-8

              
                35
                
                -set fileencodings=utf8,cp1251

              
                36
                
                -set hidden

              
                37
                
                -nnoremap <C-N> :bnext<CR>

              
                38
                
                -nnoremap <C-P> :bprev<CR>

              
                39
                
                -

              
                40
                
                -Tab settings for Python, according to the recommendations

              
                
                31
                +"Tab for python

              
                41
                32
                 set tabstop=4 

              
                42
                33
                 set shiftwidth=4

              
                43
                34
                 set smarttab

              
                44
                35
                 set expandtab

              
                45
                
                -set softtabstop=4 

              
                46
                36
                 

              
                
                37
                +"Maping chenge window

              
                47
                38
                 map <C-j> <C-W>j

              
                48
                39
                 map <C-k> <C-W>k

              
                49
                40
                 map <C-H> <C-W>h

              
                50
                41
                 map <C-L> <C-W>l

              
                
                42
                +"Maping Russian letters

              
                51
                43
                 map ш i

              
                52
                44
                 map м v

              
                53
                45
                 map ч x

              ···
                56
                48
                 map о j

              
                57
                49
                 map л k

              
                58
                50
                 map д l

              
                59
                
                -

              
                60
                
                -"All highlight 

              
                61
                
                -let python_highlight_all = 1

              
                62
                
                -

              
                63
                
                -"Turn off the sound in Vim

              
                64
                
                -set visualbell t_vb=

              
                65
                
                -

              
                66
                
                -"Delate swap vim files

              
                67
                
                -set nobackup

              
                68
                
                -set noswapfile

              
                
                51
                +"MarkDownPreview

              
                
                52
                +nmap <silent> <F8> <Plug>MarkdownPreview 

              
                
                53
                +imap <silent> <F8> <Plug>MarkdownPreview 

              
                
                54
                +nmap <silent> <F9> <Plug>StopMarkdownPreview 

              
                
                55
                +imap <silent> <F9> <Plug>StopMarkdownPreview 

              
                69
                56
                 

              
                70
                57
                 "Delate excess spase for python files

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

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

              
                73
                
                -

              
                74
                
                -"NerdTree

              
                75
                
                -map <C-n> :NERDTreeToggle<CR>

              
                76
                
                -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']

              
                77
                
                -let NERDTreeShowHidden=1

              
                78
                
                -let g:NERDTreeWinPos="left"

              
                79
                
                -let g:NERDTreeDirArrows=0

              
                80
                
                -

              
                81
                
                -"Maping MarkdownPreview

              
                82
                
                -nmap <silent> <F8> <Plug>MarkdownPreview

              
                83
                
                -imap <silent> <F8> <Plug>MarkdownPreview

              
                84
                
                -nmap <silent> <F9> <Plug>StopMarkdownPreview

              
                85
                
                -imap <silent> <F9> <Plug>StopMarkdownPreview