all repos

dotfiles @ 55d5156a739f742ad5a174b2b71a6d6f2c54dbbc

i use rach linux btw

dotfiles/vimrc (view raw)

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, material
44
" Light: 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>      " Create new tab
60
map <leader>to :tabonly<cr>     " Kill all tab
61
map <leader>tc :tabclose<cr>    " Tab kill
62
map <leader>1 :tabn 1<cr>       " Change tab
63
map <leader>2 :tabn 2<cr>       " Change tab
64
map <leader>3 :tabn 3<cr>       " Change tab
65
map <leader>4 :tabn 4<cr>       " Change tab
66
map <leader>5 :tabn 5<cr>       " Change tab
67
map <leader>6 :tabn 6<cr>       " Change tab
68
map <leader>7 :tabn 7<cr>       " Change tab
69
map <leader>8 :tabn 8<cr>       " Change tab
70
map <leader>9 :tabn 9<cr>       " Change tab
71
map <leader>0 :tablast<cr>      " Change tab
72
73
" Russian letters
74
map ш i
75
map м v
76
map ч x
77
map в d
78
map р h
79
map п g
80
map о j
81
map л k
82
map д l
83
84
if has("gui_running")
85
    colorscheme Monokai
86
    set guioptions -=m
87
    set guioptions -=T
88
endif