2012年3月1日木曜日

vimをyumで




vi ('A`)なんで色つかね?

-bash: vim: command not found
('A`)

whereis vim
vim:
('A`)…

updatedb
locate vim
… …ねぇよ('A`)


■yumでvimをインストール
yum -y install vim-enhanced

■bashrcでaliasを設定
alias vi='vim'

■vimrcで好みの設定追記
set number
set autoindent
set cindent
set showmatch
set tabstop=4
set shiftwidth=4