-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgvimrc
46 lines (36 loc) · 754 Bytes
/
gvimrc
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
" ===============
" .gvimrc
" ===============
scriptencoding utf-8
" Variables
let s:iswin = has('win32')
let s:isunix = has('unix')
" Environment specific
if s:iswin
set guifont=Consolas:h10:cANSI
set guifontwide=Cica:h10:cSHIFTJIS
set renderoptions=type:directx,renmode:5,taamode:1
set linespace=2
elseif s:isunix
set guifont=Source\ Han\ Mono\ 10
set guifontwide=Source\ Han\ Mono\ 10
endif
" GUI
try
colorscheme gruvbox
catch
colorscheme desert
endtry
set guioptions=!ciM
set guicursor=a:blinkon0
set title titlelen=80
set titlestring=%t%(\ %m%r%)\ \(%<%{expand('%:p:h')}\)\ -\ GVim
if has('vim_starting')
set columns=128
set lines=32
endif
set cmdheight=1
set mouse=a
set mousehide
set nomousefocus
set winaltkeys=no