[Vimperator] A view-source plugin
Martin Stubenschrott
stubenschrott at gmx.net
Fri Feb 29 02:52:52 PST 2008
Andrea Rossato wrote:
> Hi,
>
> since sometimes I need to open an URL with view-source (for looking
> source code served with unrecognized MINE types, for instance), I
> wrote this trivial plugin to add 2 commands (and relative key
> bindings):
>
> - tviewsource (or 'v') to open the source of an URL in a new tab;
>
> - viewsource (or 'V') to open the current URL's source in a new tab.
>
> I've read that the API is changing, but since I need these functions I
> think I'll send a follow up when/if things are going to be broken.
Thanks for the plugin, but CVS (0.6pre) already contains :viewsource
natively and I don't plan to do a 0.5.4 release anymore. It also has
mappings gf and gF (for go file).
> Vimperator is really addictive. Thank you very much!
You are welcome, looking forward for more patches :) If functions like
these benefit more than a specialized kind of users, I even prefer to
get a "native" patch, than a plugin, as features like this should be
part of standard vimperator. However, I will only apply them if they are
for CVS (which is firefox3 only).
--
Martin
PS: But also nice to share such plugins with the mailing list. Even if I
don't add certain plugins to the homepage, some mailing list readers
still might want them.
More information about the Vimperator
mailing list