On Friday, September 12, 2014 5:22:41 PM UTC+12, ZyX wrote:
>
> > vim -u NONE ++enc=latin1 file.txt
>
> Does not this throw some error in :messages? ++opt is not supported from the command-line.
Yes, thank you. With -c q it was flashing past too quickly to see. I was misled by this in the help for 'fileencoding':
To read a file in a certain encoding it won't work by setting
'fileencoding', use the |++enc| argument.
> -c is too late. You must use --cmd, -c runs *after* reading the file.
Yes, thank you.
vim --cmd "set fencs=latin1" file.txt
(finally) works to avoid the slowdown.
Regards, John Little
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Friday, September 12, 2014
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment