vim ~/.vimrc
set fileencodings=utf8,big5,gbk,latin1
set fileencoding=big5
set <C-u>=^U
set <C-b>=^B
map <C-u> :set fileencoding=utf8
map <C-b> :set fileencoding=big5
Reference:
解決 vim 的「編碼」問題
set fileencodings=utf8,big5,gbk,latin1
set fileencoding=big5
set <C-u>=^U
set <C-b>=^B
map <C-u> :set fileencoding=utf8
map <C-b> :set fileencoding=big5
0 意見:
張貼留言