" vi:set ts=8 sts=2 sw=2 tw=0: " viM:fdm=marker fdl=0 fdc=3 " Yasuhiro Matsumoto scriptencoding utf-8 " for font if has('win32') " for windows "set guifont=MS\ GOTHIC:h9 set guifont=SH_G30-M:h10.5 if exists("&linespace") set linespace=1 endif elseif has('xfontset') " for unix if &encoding == 'utf-8' "set guifont=-misc-fixed-medium-r-normal-*-18-*-*-*-*-*-* "set guifontwide=-misc-fixed-medium-r-normal-*-18-120-100-100-c-180-iso10646-1 "set guifont=-gnu-unifont-medium-r-normal-*-*-*-100-100-c-*-iso10646-1 set guifont=-misc-fixed-medium-r-normal-*-13-*-*-*-*-*-* if !has('GUI_KDE') set guifontwide=-misc-kochi\ gothic-medium-r-normal-*-13-*-*-*-c-*-iso10646-1 endif else if !has('GUI_KDE') set guifontset=a14,r14,k14 endif endif elseif has('mac') set guifont=Osaka:h14 else if has('GUI_GTK2') set guifont=Kochi\ Gothic\ 10 set guifont=SH\ G30\ 11 elseif has('GUI_KDE') set guifont=Kochi\ Gothic/10/-1/5/50/0/0/0/0/0 else set guifont=Kochi\ Gothic:10 endif endif if &guioptions =~# 'M' let &guioptions = substitute(&guioptions, '[mT]', '', 'g') endif set guioptions+=b if has('win32') && version >= 600 set iminsert=0 set imsearch=0 endif if has('multi_byte_ime') || has('xim') highlight CursorIM guibg=Yellow guifg=NONE "set iminsert=0 imsearch=0 if has('xim') if has('GUI_GTK') set imactivatekey=s-space endif endif endif