分类: LINUX
2007-05-04 17:56:10
function! s:Set_Message_Enconding() if &encoding =~? 'cp936' :language messages zh_CN.CP936 elseif &encoding =~? 'utf-8' :language messages zh_CN.UTF-8 else :language messages en endif endfunction
:au EncodingChanged * :call
:call |