fudist

gvimrc-sample

vim UTF-8日本語版 - 設定ファイル」へ戻る

scriptencoding cp932

"----------------------------------------
" Font
"----------------------------------------
set linespace=1
if has('win32')
  set guifont=MS_Gothic:h11:cSHIFTJIS
elseif has('mac')
  set guifont=Osaka-等幅:h14
  set linespace=0
elseif has('xfontset')
  set guifontset=a14,r14,k14
  set linespace=0
else
  set linespace=0
endif

"----------------------------------------
" IME
"----------------------------------------

if has('multi_byte_ime') || has('xim')
  set iminsert=0 imsearch=0
  if has('xim') && has('GUI_GTK')
    "set imactivatekey=C-Space
  endif
endif

if has('multi_byte_ime')
  highlight Cursor guifg=NONE guibg=Green
  highlight CursorIM guifg=NONE guibg=Purple
endif