-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoptions.vim
71 lines (56 loc) · 1.56 KB
/
options.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
63
64
65
66
67
68
69
70
71
" custom vim options
" Author: Viacheslav Lotsmanov
" License: MIT https://raw.githubusercontent.com/unclechu/neovimrc/master/LICENSE
let $NVIM_ENABLE_TRUE_COLOR = 1
set hidden " ctrlspace requires it
set laststatus=2 " airline always
set showtabline=2
set backspace=indent,eol,start
set tabstop=4
set softtabstop=4
set shiftwidth=4
set autoindent
set smartindent
set noexpandtab
set splitright
set splitbelow
set hlsearch
set smartcase
set nowrap
set number
set relativenumber
set nocursorline
set nocursorcolumn
set colorcolumn=81 " one column after limit
set textwidth=0
set showcmd " show combos at the right bottom corner
set inccommand=split
set virtualedit=all
set mouse=a
set fileencodings=utf8,cp1251
set modeline
set foldmethod=indent
set foldlevelstart=999
set cpoptions+=I " disable indent removing in insert mode (moving by arrow keys)
set timeoutlen=1000
" internal keyboard layouts
set keymap=russian-jcukenwin
set iminsert=0
set imsearch=-1
let &langmap = 'йq,цw,уe,кr,еt,нy,гu,шi,щo,зp,х[,ъ],фa,ыs,вd,аf,пg,рh,оj'
\.',лk,дl,э'',яz,чx,сc,мv,иb,тn,ьm,б\,,ю.,ё`,ЙQ,ЦW,УE,КR,ЕT,НY,ГU'
\.',ШI,ЩO,ЗP,Х{,Ъ},ФA,ЫS,ВD,АF,ПG,РH,ОJ,ЛK,ДL,Э\",ЯZ,ЧX,СC,МV,ИB,ТN'
\.',ЬM,Б\<,Ю\>,Ё\~'
" sessions
set ssop-=options " do not store global and local values in a session
set ssop-=folds " do not store folds
set showbreak=↪
set linebreak
set breakindentopt=shift:4,sbr
set breakindent
set wildmenu
set wildignorecase
set clipboard-=unnamedplus
set termguicolors
set path+=** " recursively deal with files
se mmp=9000