[Vimperator] How to change encoding ....
Martin Stubenschrott
stubenschrott at gmx.net
Sat Feb 23 12:27:40 PST 2008
M.Terada wrote:
> Hi.
>
> Now, vimperator does'nt have commands or options for change encoding.
> So, I create a vimperator plugin.
> Please use this plugin.
>
> You can change encoding with ":set fenc=ISO-8859-2" or ":set fenc=windows-1250"
> and can make certain of available encodings with ":lsenc"
I would like this behavior in vimperator itself at some time, and not
just as a plugin. However, I'd *only* like a single "fenc" option, and
not :lsenc etc.
For this vimperator would need to get some new features:
*) options could have a completor for values after :set fenc=<tab>
*) :setlocal would make sense for "fenc", and we could have a :set
fenc=auto for your other auto* option.
I don't have time for these things currently unfortunatly, but your code
seems as a good starting point for somebody who wants to make a real
(0.6pre-based) patch for a "fenc" option. (Although the coding style
would need to be adjusted to match vimperators).
But I'll probably put this script online since I fear, that nobody will
do a proper patch which i would be willing to include in vimperator.
Thanks for the script,
Martin
More information about the Vimperator
mailing list