philc / vimium

The hacker's browser.
https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb
MIT License
23.43k stars 2.48k forks source link

Bookmark keywords #3036

Open bytex0a opened 6 years ago

bytex0a commented 6 years ago

Firefox offers the possibility of adding a keyword to a bookmark. Thus you can open the bookmark just by typing the related keyword. Vimium has the option to define custom search engines which is somewaht similar to bookmark keywords.

I think it would be a good idea to let the user define keywords for bookmarks that can be opened by typing the keyword in the Omnibar.

smblott-github commented 6 years ago

Try just adding the word you want to the bookmark title.

Vimium scores whole-word matches higher than other matches, so they tend to propagate to the top.

For example, the title for my own Twitter bookmark is "Twitter (T)". Then, with b or B, entering just "t" tends to pull Twitter to the top. For me, "WI" is "weather in Ireland", "RR" is "rainfall radar", and so on. There's no need to type capital letters.

chuan137 commented 5 years ago

what about making a feature with hashtag? when typing #sometag, the bookmarks with the tags are displayed on top of the list.

gdh1995 commented 5 years ago

Currently there're no APIs for web extensions to access those bookmark tags on Firefox - see more on https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/bookmarks/BookmarkTreeNode

adamency commented 1 year ago

Hi all, I feel this is definitively an issue, but that it has been thought out in the wrong way previously:

The priority should not be to try to reimplement the same keyword system as in firefox, but to make the bookmark keywords firefox feature work in vimium too. Currently I am forced to go back to using the firefox url bar generally because of the fact that doing it through vimium won't recognize my bookmark keywords, consequently thwarting the potential usage of o O b and B unfortunately.

I'm not familiar with vimium's code but it seems likely that letting firefox process the input to recognize the bookmark keyword should be less costly than re-implementing the whole feature in Vimium.

Do any of you people believe this could be feasible without too much work ?

PS: This seems like the kind of feature Vimium would be designed for, given its keyboard-centric philosophy.