On Nov 10, 1:06 pm, Marcio Gil <[email protected]> wrote: > When I edit a DOS batch (for example), I always need to put ':e + > +enc=cp850'. > > Can I add in my _vimrc file a auto command for this? Example: > > autocmd FileType dosbatch setlocal fileencoding=cp850 > (don't works!) >
I forgot to mention, you could also use the AutoFenc plugin, and specify the encoding in a comment within the file itself: http://www.vim.org/scripts/script.php?script_id=2721 -- 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
