vim install
# yum install vim-enhanced
set autoindent set expandtab set listchars=eol:$,tab:>- " list set shiftwidth=2 set showmatch set smartindent set smarttab set tabstop=2 autocmd BufNewFile *.php 0r ~/vim/skeleton.php " myfiletypefile augroup filetype au! BufRead,BufNewFile *.php set filetype=php augroup END autocmd FileType php nnoremapYPC /** * * */ public function (){ try{ }catch(Exception $e){ throw $e; } } j^
~/vim/skeleton.php を作成
ほかいろいろ
- Prev HTC Aria S31HT
- Next git install
- Prev HTC Aria S31HT
- Next http://dexpot.de/ | virtual desktop windows7