Hi, Is there a way to set the fenc option from an autocommand so that I would get the same effect as if I opened the file with :edit + +enc=utf8 FILENAME
The background: I usually use (f)enc=latin1 but would like to edit the files in a certain directory with fenc=utf8. I currently reopen the file with the above :edit command but I'm certain there is a better solution. Any ideas? Regards, Thomas --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
