[Vimperator] Search command (s///) plugin
Sitaram Chamarty
sitaramc at gmail.com
Sat Mar 8 10:50:43 PST 2008
you guys still rock, but is there a trick to making the autocmd work
even when the tab being loaded is not a foreground tab?
right now it only seems to work if the linuxtoday.com tab loads in the
foreground :-(
Thanks,
Sitaram
On Mon, Mar 3, 2008 at 8:58 PM, Daniel Bainton <dpb at driftaway.org> wrote:
> On 03/03/2008, Martin Stubenschrott <stubenschrott at gmx.net> wrote:
>
> > Sitaram Chamarty wrote:
> > > [I'd rather see some more scriptability of sessions. For example,
> > > whenever I go to an article from LinuxToday, I usually click the
> > > "Complete Story" link anyway. Right now, I have that set as part of
> > > my "nextpattern" and so I can do "]]" and go there. But it would be
> > > cool to associate autocommands with specific URLs, that would
> > > autmatically follow that link, or indeed "play back" any recorded
> > > script! After all, we have record/playback, we have auto-commands, so
> > > why not?]
> >
> >
> > Well, that can already be achieved (untested):
> > :autocommand PageLoad linuxtoday :norm /Complete Story<cr><cr>
>
> Now it's tested. Works if you use the right command (:autocmd) ;)
>
> And this works better, so it doesn't try to do the search on the front page:
> :autocmd PageLoad linuxtoday.com/.*/ :norm /Complete Story<cr><cr>
>
> --
> Daniel
>
>
> _______________________________________________
> Vimperator mailing list
> Vimperator at mozdev.org
> https://www.mozdev.org/mailman/listinfo/vimperator
>
More information about the Vimperator
mailing list