[Vimperator] version 0.5 -- how do I toggle a setting

Sitaram Chamarty sitaramc at gmail.com
Sun Aug 19 21:48:44 PDT 2007


My Javascript skills are negligible, but I'm willing to learn.  Give
me a hint of some kind about what the function might look like.

Or I could wait -- this is not an emergency :-)

On 8/19/07, Doug Kearns <dougkearns at gmail.com> wrote:
> On 8/18/07, Sitaram Chamarty <sitaramc at gmail.com> wrote:
> > Hello,
> >
> > I love 0.5 -- I have too many keywords in my bookmarks and constantly
> having
> > to use Ctrl-L first then type in my keyword was becoming a pain.
> >
> > I also love the mapping commands.  My question:  I currently have to use
> two
> > keys to toggle the "um" mapping (which I use often).  Like so:
> >
> >     map \ :set   um<Enter>
> >     map | :set noum<Enter>
> >
> > Is there a way I can use one key that would toggle the setting on each
> > press?
>
> Well you could write a javascript function and source it from your
> .vimperatorrc or .vimperator/plugin directory.
>
> However, I expect I will write a :set inv{option} implementation this
> week as it's something I'd like too.  So with any luck it'll appear in
> 0.5.1. :)
>
> Regards,
> Doug
> _______________________________________________
> Vimperator mailing list
> Vimperator at mozdev.org
> http://www.mozdev.org/mailman/listinfo/vimperator
>


More information about the Vimperator mailing list