Changeset 15035 for dotfiles

Show
Ignore:
Timestamp:
07/02/08 12:41:09 (5 months ago)
Author:
from_kyushu
Message:

.vimrc更新。主に表示周り。

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dotfiles/vim/from_kyushu/.vimrc

    r14976 r15035  
    44set softtabstop=2 
    55set expandtab 
    6 "set autoindent 
    76 
    87"表地回り 
     
    1615set laststatus=2 
    1716 
     17" ステイタス行に文字コードと改行コードを表示。 
     18set statusline=%<%f\ %m%r%h%w%{'['.(&fenc!=''?&fenc:&enc).']['.&ff.']'}%=%l,%c%V%8P 
     19 
     20" screen にファイル名を表示 
     21if $TERM == 'screen' 
     22  autocmd BufEnter * silent! exe '!echo -n "k%\\"' 
     23endif 
     24 
    1825set incsearch 
    1926set nocompatible 
    2027 
     28set hidden 
     29 
    2130syntax on 
    22 filetype on 
    23 filetype indent on 
    24 filetype plugin on 
     31filetype plugin indent on 
    2532 
    2633"Rubyのオムニ補完を設定(ft-ruby-omni) 
     
    104111  let did_encoding_settings = 1 
    105112endif 
     113 
     114" for printing 
     115if has('printer') 
     116  if has('win32') 
     117    set printfont=FixedSys:h10 
     118  elseif has("unix") 
     119    set printencoding=euc-jp 
     120    if exists('&printmbcharset') 
     121      set printmbcharset=JIS_X_1983 
     122      set printmbfont=r:Ryumin-Light,b:Ryumin-Light,a:yes,c:yes 
     123    endif 
     124  endif 
     125endif