-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.vim
62 lines (47 loc) · 946 Bytes
/
settings.vim
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
" --- Basic setup ---
set cursorline
set number
set relativenumber
set colorcolumn=120
set tabstop=4
set shiftwidth=4
set smarttab
set smartindent
set encoding=utf8
set noet
set ignorecase
set smartcase
map <C-k> <C-w><Up>
map <C-j> <C-w><Down>
map <C-l> <C-w><Right>
map <C-h> <C-w><Left>
noremap <Down> <C-W>j
noremap <Up> <C-W>k
noremap <Left> <C-W>h
noremap <Right> <C-W>l>
set inccommand=nosplit
set nobackup
set noswapfile
set encoding=utf-8
set fileencodings=utf8,cp1251
set nocompatible
set diffopt+=vertical
set laststatus=2
set encoding=utf8
"--- Code folding ---
set foldmethod=indent
set foldlevel=12
" show first row for ALE
set signcolumn=yes
" --- LANG MAP ---
set keymap=russian-jcukenwin
set iminsert=0
set imsearch=0
set expandtab
syntax on
" tabs setting
autocmd Filetype css setlocal tabstop=2
autocmd Filetype html setlocal tabstop=2
autocmd Filetype htmldjango setlocal tabstop=2
set mouse=a
set nolazyredraw