Smirnov Aleksandr
Smirnov Aleksandr
50584123+Smirnov-O@users.noreply.github.com Update vimrc, 6 years ago
50584123+Smirnov-O@users.noreply.github.com Update vimrc, 6 years ago
| 1 | call plug#begin('~/.vim/plugged') |
| 2 | Plug 'jiangmiao/auto-pairs' |
| 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 |
| 7 | call plug#end() |
| 8 | |
| 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 | set showmode |
| 26 | set showcmd |
| 27 | |
| 28 | " Tab |
| 29 | set tabstop=4 " Tab size 4 |
| 30 | set shiftwidth=4 " Tab size 4 |
| 31 | set expandtab " Tab consist of space |
| 32 | set smarttab " Tab consist of space |
| 33 | |
| 34 | " Search |
| 35 | set incsearch " Highlighted |
| 36 | set ignorecase " Highlighted |
| 37 | set smartcase " Smart Rigger |
| 38 | |
| 39 | " ColoerCheme |
| 40 | set background=dark |
| 41 | colorscheme OceanicNext |
| 42 | " Color cheme list |
| 43 | " Dark: adventurs, Atelier_DuneLight, colorsbox-material, colorsbox-faff, OceanicNext, gruvbox, Monokai, vmaterial |
| 44 | " Light: newspaper, newspaper, wikipedia, Atelier_CaveLight, mac_classic |
| 45 | " Outher: off |
| 46 | |
| 47 | """""""""" |
| 48 | " MAPING " |
| 49 | """""""""" |
| 50 | let mapleader=',' " Leader key |
| 51 | |
| 52 | " Smart way to move between windows |
| 53 | map <C-j> <C-W>j |
| 54 | map <C-k> <C-W>k |
| 55 | map <C-h> <C-W>h |
| 56 | map <C-l> <C-W>l |
| 57 | |
| 58 | " Tabs |
| 59 | map <leader>tn :tabnew<cr> |
| 60 | map <leader>to :tabonly<cr> |
| 61 | map <leader>tc :tabclose<cr> |
| 62 | map <leader>tm :tabmove |
| 63 | |
| 64 | " Russian letters |
| 65 | map ш i |
| 66 | map м v |
| 67 | map ч x |
| 68 | map в d |
| 69 | map р h |
| 70 | map п g |
| 71 | map о j |
| 72 | map л k |
| 73 | map д l |