[Vimperator] Awesome extension, and lots of comments as a result

Allan Wind allan_wind at lifeintegrity.com
Tue Dec 11 15:54:21 PST 2007


On 2007-12-11T21:32:19+0100, Martin Stubenschrott wrote:
> On Tue, Dec 11, 2007 at 02:55:40PM -0500, Allan Wind wrote:
> > I create a file with:
> > 
> > <html>
> > 	x
> > 	<a href="x">x</a>
> > </html>
> > 
> > then search for x.  \lx says "E486:Pattern not found: \lx". "\ux" finds 
> > both.  This is with iceweasel 2.0.0.10-0etch1 which is what debian calls 
> > firefox.
> 
> my mistake, should be \Ux for your version, and \Lx for the future, 
> :map ' /\U  if you want the old default firefox behavior of '

/\Ux finds both links a non-links, i.e. still does not work.  This 
actually not that important for me, just wanted to let you know that it  
did not work.  If there is something else you want to me to try to get 
things documented then I would be happy to help.

> > j/k/g/B works, sweet.  Suggest adding a hint in the help pages what the 
> > valid commands are as the prompt just says "Press ENTER or type command 
> > to continue".
> 
> The 0.6 version says -- more -- just like vim. I know not very helpful,
> but consisten :)

vim 7.0.235 says exactly you had at least here.  In either case still 
suggest adding something to the help file indicating that you can scroll 
the output as vim does not do that (afaik).

> > ctrl-f opens up search, and ctrl-b bookmark here.
> 
> again, my mistake, f and b will work.

No worries.  I miss the unix text utilities already :-)

> > What about this:
> > 
> > :bmarks
> > ;
> > 
> > and then select the hint and use d to delete it.  Now that you told me 
> > How to scroll the output that would be easier than typing in the whole 
> > url.
> 
> unfortunatly this list is just for displaying, it is not possible to
> select entries. if you know in advance that you want to delete
> bookmarks, why not use :delbmarks filter<tab> ?

You have to memorize part of the url to get started, but that is indeed 
neat.

> > :bmarks takes the argument [filter]
> > filter is one optional argument
> > filter is either an url or title
> > 
> > :delm takes the argument {marks}
> > marks is one or more required arugments
> > marks is an url
> > 
> > :bmarks! gives a different interface
> > 
> > :delm! will delete all bookmarks in the future
> > 
> > So for example I may do:
> > 
> > :bmarks test
> > 
> > and get 20 results, but:
> > 
> > :delbm test
> > 
> > probably deletes nothing as the result was based on title match.  I may 
> > run :delbm! thinking that I get an interactive gui like :bmarks! but 
> > would (in the future) delete all my bookmarks.
> 
> That was a little unclear written from me, :delbmarks! filter will
> delete all bookmarks matching filter, if filter is empty this means all
> bookmarks,

<...>

> but :delbmarks! test will delete the same bookmarks as
> :bmarks test shows.

:bma test2 test3
:bmarks test2
test2 test3
:delbm test2
0 bookmark(s) with url `test2' deleted

:delmarks! is documented as not taking any arguments, and I am too 
scared to try it to see what happens.  

:bma test3
test3 test3
test2 test3
:bmarks test2 test3
E283: No bookmarks matching "test2 test3"
:delmarks test2 test3
E488: Trailing characters

I.e. bmarks treats everything as a string, and delbm spilts on " " 
unless the thing is quoted.

> It uses the tags from firefox3 as that has real tag support (not keywords)
> built-in, so that will actually work similar to what you want.

YAH!

> You can also get a full bookmarks editing window in the 0.6 version with
> 
> :dialog places
> 
> We don't really support folders, and probably won't unless i get a clean
> patch, as i think tags are much more advanced to folders, especially for
> a keyboard based browser.

Makes sense to me.

Thanks for all your help.


/Allan


More information about the Vimperator mailing list