-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gvimrc
44 lines (34 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
"---------------------------------------------------------------------------
" フォント設定:
set antialias " アンチエイリアス
if has('win32')
set guifont=Ricty_Discord_for_Powerline:h13.5
" 挿入モードでのIME状態を記憶させない
inoremap <silent> <ESC> <ESC>:set iminsert=0<CR>
elseif has('mac')
set guifont=Ricty_Discord_Regular_for_Powerline:h15
endif
if has('kaoriya')
" 一部のUCS文字の幅を自動計測して決める
set ambiwidth=auto
" 半透明設定
autocmd GUIEnter * set transparency=240
autocmd FocusGained * set transparency=240
autocmd FocusLost * set transparency=200
endif
"---------------------------------------------------------------------------
" ウインドウに関する設定:
"
" ウインドウの幅
set columns=128
" ウインドウの高さ
set lines=48
" コマンドラインの高さ(GUI使用時)
set cmdheight=2
" タブを表示 0=表示しない 1=タブがあるときは表示 2=常に表示
set showtabline=2
" 配色設定
colorscheme jellybeans
set background=dark
" カーソル行をハイライトする(gVimだけ有効にしたり使い分ける用)
set cursorline