1 files changed,
54 insertions(+),
43 deletions(-)
Author:
Smirnov Aleksandr
50584123+Smirnov-O@users.noreply.github.com
Committed by:
GitHub
noreply@github.com
Committed at:
2020-05-12 22:41:46 +0300
Parent:
1052e9f
M
vimrc
··· 1 1 call plug#begin('~/.vim/plugged') 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' 8 2 Plug 'jiangmiao/auto-pairs' 9 -Plug 'flazz/vim-colorschemes' 10 -Plug 'kien/ctrlp.vim' 3 +Plug 'flazz/vim-colorschemes' " ColorChemes pack 4 +Plug 'airblade/vim-gitgutter' " Git indecator 5 +Plug 'kien/ctrlp.vim' " Search file 6 +Plug 'ap/vim-css-color', {'for': 'css'} " CSS color 11 7 call plug#end() 12 8 13 -set number 14 -syntax on 15 -set incsearch 16 -set hlsearch 17 -set ignorecase 18 -set smartcase 19 -set nocompatible 20 -set ruler 21 -set mouse=a 22 -set hidden 23 -set autoindent 24 -set smartindent 25 -set history=150 26 -set termencoding=utf8 27 -set guifont=DroidSansMono\ Nerd\ Font\ 11 28 -set t_Co=256 9 +set number " Number line 10 +syntax on " Support syntax 11 +set mouse=a " Mousr support 12 +set ruler " Cursor position 13 +set hidden " hidden buffers 14 +set smartindent " hidden buffers 15 +set t_Co=256 " Enable 265 colors 16 +set encoding=utf-8 " Use utf-8 encoding 17 + 18 +set cursorline " The line with the cursor will be highlighted 19 +set wrap " Line wrapping 20 +set nobackup " Disable backup files 21 +set noswapfile " Disable *.swp files 22 +set history=1000 " History size 1000 edits 23 +set autoread " Auto reade file for edit 24 + 25 +" Tab 26 +set tabstop=4 " Tab size 4 27 +set shiftwidth=4 " Tab size 4 28 +set expandtab " Tab consist of space 29 +set smarttab " Tab consist of space 30 + 31 +" Search 32 +set incsearch " Highlighted 33 +set ignorecase " Highlighted 34 +set smartcase " Smart Rigger 35 + 36 +" ColoerCheme 29 37 set background=dark 30 -colorscheme OceanicNext 31 -"Tab for python 32 -set tabstop=4 33 -set shiftwidth=4 34 -set smarttab 35 -set expandtab 38 +colorscheme gruvbox 39 +" Color cheme list 40 +" Dark: adventurs, Atelier_DuneLight, colorsbox-material, colorsbox-faff, OceanocNext, gruvbox, Monokai, vmaterial 41 +" Light: newspaper, newspaper, wikipedia, Atelier_CaveLight, mac_classic 42 +" Outher: off 36 43 37 -"Maping chenge window 44 +"""""""""" 45 +" MAPING " 46 +"""""""""" 47 +let mapleader=',' " Leader key 48 + 49 +" Smart way to move between windows 38 50 map <C-j> <C-W>j 39 51 map <C-k> <C-W>k 40 -map <C-H> <C-W>h 41 -map <C-L> <C-W>l 42 -"Maping Russian letters 52 +map <C-h> <C-W>h 53 +map <C-l> <C-W>l 54 + 55 +" Tabs 56 +map <leader>tn :tabnew<cr> 57 +map <leader>to :tabonly<cr> 58 +map <leader>tc :tabclose<cr> 59 +map <leader>tm :tabmove 60 + 61 +" Russian letters 43 62 map ш i 44 63 map м v 45 64 map ч x 46 65 map в d 47 66 map р h 67 +map п g 48 68 map о j 49 69 map л k 50 70 map д l 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 56 - 57 -"Delate excess spase for python files 58 -autocmd BufWritePre *.py normal m`:%s/\s\+$//e `` 59 -autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class