all repos

dotfiles @ 1d78a87

my dotfiles

vimrc (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
call plug#begin('~/.vim/plugged')
Plug 'jiangmiao/auto-pairs'
Plug 'flazz/vim-colorschemes'           " ColorChemes pack
Plug 'airblade/vim-gitgutter'           " Git indecator
Plug 'kien/ctrlp.vim'                   " Search file
Plug 'ap/vim-css-color', {'for': 'css'} " CSS color
call plug#end()

set number		    " Number line
syntax on		    " Support syntax
set mouse=a		    " Mousr support
set ruler		    " Cursor position
set hidden		    " hidden buffers
set smartindent		" hidden buffers
set t_Co=256		" Enable 265 colors
set encoding=utf-8	" Use utf-8 encoding

set cursorline		" The line with the cursor will be highlighted
set wrap	    	" Line wrapping
set nobackup		" Disable backup files
set noswapfile		" Disable *.swp files
set history=1000	" History size 1000 edits
set autoread		" Auto reade file for edit

set showmode
set showcmd

" Tab
set tabstop=4		" Tab size 4
set shiftwidth=4    " Tab size 4
set expandtab		" Tab consist of space
set smarttab        " Tab consist of space

" Search
set incsearch		" Highlighted
set ignorecase		" Highlighted
set smartcase		" Smart Rigger

" ColoerCheme
set background=dark
colorscheme OceanicNext
" Color cheme list
" Dark: adventurs, Atelier_DuneLight, colorsbox-material, colorsbox-faff, OceanicNext, gruvbox, Monokai, vmaterial
" Light: newspaper, newspaper, wikipedia, Atelier_CaveLight, mac_classic
" Outher: off

""""""""""
" MAPING "
""""""""""
let mapleader=','	" Leader key

" Smart way to move between windows
map <C-j> <C-W>j
map <C-k> <C-W>k
map <C-h> <C-W>h
map <C-l> <C-W>l

" Tabs
map <leader>tn :tabnew<cr>
map <leader>to :tabonly<cr>
map <leader>tc :tabclose<cr>
map <leader>tm :tabmove

" Russian letters
map ш i
map м v
map ч x
map в d
map р h
map п g
map о j
map л k
map д l