-
Notifications
You must be signed in to change notification settings - Fork 0
/
gvimrc
73 lines (58 loc) · 1.15 KB
/
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
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
72
73
" ============================================================================ "
" gvimrc "
" ============================================================================ "
" basic {{{
set encoding=utf-8
scriptencoding utf-8
language messages C
" environment {{{
let s:mac = has('mac') || has('macunix')
let s:nix = !s:mac && has('unix')
" }}}
set background=light
colorscheme scheakur
" }}}
" font {{{
if s:mac
set guifontwide=Monaco:h14
set guifont=Monaco:h14
set linespace=1
elseif s:nix
set guifont=Migu\ 1M\ 12
set guifontwide=Migu\ 1M\ 12
set linespace=1
endif
" }}}
" window size {{{
if s:mac
set lines=48
set columns=200
endif
if s:nix
if &diff
set lines=60
set columns=300
else
set lines=60
set columns=200
endif
endif
" }}}
" guioption {{{
set guioptions&
set guioptions-=e
set guioptions-=m
set guioptions-=r
set guioptions-=L
set guioptions-=T
set langmenu=none
" }}}
" macvim {{{
if has('gui_macvim')
set noimdisable
set iminsert=0
endif
" }}}
" @see :help modeline
" vim: set foldenable foldmethod=marker :
" vim: set formatoptions& formatoptions-=ro :