Hi Marcio! On Do, 10 Nov 2011, Marcio Gil 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!) Probably the FileType event occurs to late. Try something like this: autocmd FileType dosbatch :e! ++enc=cp850 regards, Christian -- 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
