[Vimperator] request statusbar / q regex / possible bug: 'all extensions incompatible'
Martin Stubenschrott
stubenschrott at gmx.net
Mon Jun 25 02:04:46 PDT 2007
On Mon, Jun 25, 2007 at 12:14:42AM +0200, Peter Jakobi wrote:
> 1) vi is about text; so mapping the dom representation of the page to
> a plaintext view (with location information) should be possible
It isn't really that easy, actually impossible, because even if you
managed to get this text representation with location information it
would be nearly impossible to then get back from the text representation
to the DOM, which you need for highliting the text. Regexp would really
be fine in vimperator, but I think we'll have to wait for firefox to
support it (there is a feature request for it AFAIK).
> 2) regex do exist in javascript (study() doesn't?); or possibly with
> object code in probably more powerful form as the pcre library for
> various OSes. Javascript can be invoked as vimperor is javascript,
> and as an extension, shouldn't vimperor also have access to the text
> content of dom objects?
Of course javascript has regexp support, but for text, not for a complex
web page.
> 3) even if we leave the dom-to-text idea alone, there's an interesting
> feature that would nicely match vi: large text input fields and
> editing them in vim style (that means enter a text in input mode in
> the field, then press escape and use normal vi movements to move
> around in the text you entered in the field, yank a few lines to move
> them around, reformat a paragraph and use some visual block moves),
> maybe even with vim-style syntax markup.
>
> Consider bloggers and their text input or bugzilla and writing bug
> reports.
I know how useful this will be, and its on the TODO, a slightly outdated
version is here:
http://vimperator.mozdev.org/TODO.html
--
Martin
PS: Is there a way to turn off the justified text in your mail editor?
I think it's sometimes very hard to read the text in justified but still
monospace text.
More information about the Vimperator
mailing list