On Nov 10, 7:26 pm, Marcio Gil <[email protected]> wrote:
>
> This works for me:
>
> exec 'autocmd BufReadPre *.bat set fileencodings=ucs-bom,cp850,latin1'
>

I put this in my _vimrc:

autocmd BufNewFile,BufReadPre *.bat,*.sys,*.cmd,*.prg,*.ch set
fileencodings=ucs-bom,cp850,latin1

> Thank you all.
>
> Marcio.

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to