Vim
- 1 ответ
- 0 вопросов
1
Вклад в тег
" {{{ Locale settings " if we have BOM => this is BOM if &fileencodings !~? "ucs-bom" set fileencodings^=ucs-bom endif if &fileencodings !~? "utf-8" let g:added_fenc_utf8 = 1 set fileencodings+=utf-8 endif if &fileencodings !~? "default" set fileencodins+=default endif " }}}
set fileencodings=utf-8,cp1251,koi8-r,cp866
menu Encoding.koi8-r :e ++enc=koi8-r ++ff=unix<CR> menu Encoding.windows-1251 :e ++enc=cp1251 ++ff=dos<CR> menu Encoding.cp866 :e ++enc=cp866 ++ff=dos<CR> menu Encoding.utf-8 :e ++enc=utf8<CR> menu Encoding.koi8-u :e ++enc=koi8-u ++ff=unix<CR> map <F8> :emenu Encoding.<TAB>