自分の Windows gvim 個人設定手順です。
自身用の色テーマファイル colors/ansi.vim を作成しておきます。
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "ansi"
highlight Normal guifg=#cccccc guibg=#000000 gui=NONE
highlight Cursor guifg=#000000 guibg=#00ff00 gui=NONE
highlight Visual guifg=#000000 guibg=#cccccc gui=NONE
highlight LineNr guifg=#ffff00 guibg=#000000 gui=NONE
highlight Error guifg=#ffffff guibg=#ff0000 gui=BOLD
highlight Comment guifg=#0066ff gui=NONE
highlight Type guifg=#00ff00 gui=NONE
highlight Statement guifg=#ffcc00 gui=NONE
highlight Constant guifg=#ff0000 gui=NONE
highlight PreProc guifg=#ff00ff gui=NONE
highlight Identifier guifg=#00ffff guibg=#000000 gui=NONE
highlight Folded guifg=#000000 guibg=#cccccc gui=NONE
highlight Underlined cterm=underline guifg=#ff00ff guibg=#000000
highlight Title guifg=#ff00ff guibg=#000000 gui=NONE
highlight Directory guifg=#0066ff gui=NONE
vimrc を _vimrc としてコピーします。_vimrc が個人設定として優先して読み込まれます。以下の項目を調整しています。
"set tabstop=8 set ts=4 sts=0 sw=4 tw=0 ... "set noexpandtab set expandtab ... "set autoindent set noautoindent ... "set nonumber set number ... "set nolist set listchars=tab:*- ... set nobackup
gvimrc を _gvimrc としてコピー。_gvimrc が個人設定として優先して読み込まれます。以下の項目を調整しています。
" 自分用に作っておいた色テーマ colors/ansi.vim を利用
colorscheme ansi
...
if has('win32')
" Windows用
set guifont=MS_Gothic:h10:cSHIFTJIS
"set guifont=MS_Gothic:h12:cSHIFTJIS
"set guifont=MS_Mincho:h12:cSHIFTJIS
....
endif
...
" ウインドウの幅
set columns=120
" ウインドウの高さ
set lines=50