aboutsummaryrefslogtreecommitdiff
path: root/files/.gvimrc
blob: 6572a2f9cddd4f82652d389fb76d52df254b8613 (plain) (blame)
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
" Число строк в новом окне
set lines=40
set guioptions-=T
set guioptions-=L
set guioptions-=r
set guioptions-=m
set guicursor+=a:blinkoff0

" Visual bell option reseted after starting gvim
set t_vb=

" Подсветка текущей строки при вводе
autocmd InsertEnter * set cursorline
autocmd InsertLeave * set nocursorline

" Fix gx in XFCE
" https://vi.stackexchange.com/a/5034
if executable('exo-open')
  let g:netrw_browsex_viewer="setsid exo-open"
endif

let s:local_gvimrc=$MYGVIMRC . ".local"
if filereadable(s:local_gvimrc)
    silent! execute ':source ' . s:local_gvimrc
endif