vimのキーボードマクロ
2010/09/03
:set nu :syntax on :set encoding=euc-jp :language ja_JP.EUC-JP :set gfn=MeiryoKe_Gothic\ 12 :set autoindent :set fileencodings=ucs-bom,iso-2022-jp,utf-8,cp932 :set fileformats=unix,dos,mac :set ambiwidth=double
:set nu :set fileencodings=ucs-bom,iso-2022-jp,utf-8,cp932 :set formatoptions=q「_gvimrc」
"--------------------------------------------------------------------------- " カラー設定: "colorscheme morning colorscheme darkblue
"---------------------------------------------------------------------------
" フォント設定:
"
if has('win32')
" Windows用
"set guifont=MS_Gothic:h11:b:cSHIFTJIS
set gfn=MeiryoKe_Gothic:h12:cSHIFTJIS
"set guifont=MS_Mincho:h12:cSHIFTJIS
" 行間隔の設定
set linespace=1
" 一部のUCS文字の幅を自動計測して決める
if has('kaoriya')
set ambiwidth=auto
endif
elseif has('mac')
set guifont=Osaka-等幅:h14
elseif has('xfontset')
" UNIX用 (xfontsetを使用)
set guifontset=a14,r14,k14
endif
vim ファイル名でvimが起動して対象ファイルを開きますが,この起動時になっているモードがコマンド(通常)モードです.