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

Martin Stubenschrott stubenschrott at gmx.net
Tue Dec 11 12:32:19 PST 2007


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 '

> 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 :)

> ctrl-f opens up search, and ctrl-b bookmark here.

again, my mistake, f and b will work.

> 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> ?

> :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.

And bookmarks are just different from marks, that's
why they handle the argument differently.

> The extension Bookmark Tags provides the ability to tag your bookmarks, 
> so a bookmark for example.com could be tagged both "example" and "test".  
> This is great when you have a lot of bookmarks as you are no longer 
> forced to find that one right folder to put things in.  In any case the 
> extension provides its own bookmark properties window, but the hot key 
> ctrl-shit-b does not work (even with I).  So wondering if it would 
> possible for me as a user to define a :bmarks2 command to bring up this  
> other properties window.
> 
> What I do now is:
> 
> ctrl-b 
> select Bookmark tags from th eall-in-one sidebar list box
> select input box
> type or select tags
> 
> Bookmark Tags uses folders to encode the tags.  If :bmarks had an option 
> to only display stuff that is within a given folder tree that would be 
> even better.  Say your bookmarks look like this:
> 
> A/1
> A/B/2
> B/3
> 
> then it means that 1 is tagged with A, and 2 is tagged with both A and 
> B, and 3 only with B.  If :bmarks had a option to query by parent folder 
> name then you could do the tag queries nicely with:
> 
> :bmarks -fA => 1 2
> :bmarks -fA -fB (or -fA,B) => 2 
> 
> Similar to what the help page suggests for -T but I am guessing tag here 
> refers to keywords opposed to folders.

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.
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.

--
Martin


More information about the Vimperator mailing list