-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gvimrc
65 lines (54 loc) · 1.71 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
if has('gui_macvim')
" カラースキーム
set background=dark
" set background=light
let g:solarized_contrast="high"
let g:solarized_italic=0
let g:solarized_menu=0
let g:solarized_visibility="normal"
let g:solarized_termcolors=256
colorscheme solarized
set showtabline=2 " タブを常に表示
set imdisable " IME OFF
set antialias " アンチエイリアス
set gfn=Ricty\ Bold:h12
set gfw=
set lines=94 columns=317
set guioptions-=T
set guioptions-=m
set nomousefocus
set cursorline
set cursorcolumn
" indentguides
IndentGuidesEnable
let g:indent_guides_color_change_percent = 30
let g:indent_guides_guide_size = 1
" 全角スペース表示
highlight ZenkakuSpace cterm=underline ctermfg=red guibg=red guifg=white
match ZenkakuSpace / /
" visualmark
if &bg == "dark"
" highlight SignColor ctermfg=white ctermbg=blue guibg=#073672
highlight SignColor ctermfg=white ctermbg=blue guibg=darkblue
else
highlight SignColor ctermbg=white ctermfg=blue guibg=grey guifg=RoyalBlue3
endif
" カーソル位置
if &bg == "dark"
highlight CursorLine guibg=#0736c2
highlight CursorColumn guibg=#0736c2
else
highlight CursorLine guibg=#ddddff
highlight CursorColumn guibg=#ddddff
endif
" vimにフォーカスがあたっていないときは、透けさせる。(http://vim-users.jp/2011/10/hack234/)
set transparency=0
augroup hack234
autocmd!
if has('mac')
autocmd FocusGained * set transparency=0
autocmd FocusLost * set transparency=40
endif
augroup END
else
endif