Silversearch - Fulltext search for Silverbullet

Thanks, I love it! How hard do you think it would be to make it so that the popup window closes when pressing escape? it’s a behavior embedded in most other popup windows, it seems, and that I use a lot and thus am used to :slight_smile:

That’s what it should be doing? I’m using the oncancel event, maybe that has different behavior in some browsers. What browser are you using?

That’s Zen browser, which is a Firefox in disguise, on MacOS :eyes:

Can’t replicate. Tried with newest Zen Browser on mac, works totally fine for me. Must be something with your setup.

I can not replicate this on recent Firefox on Linux. But according to the documentation the Escape key is mapped to Stop Loading action by default in the Zen browser. Be there some way to unmap it, then try to unmap it (maybe there is the zen.keyboard.shortcuts.enabled option to disable key mappings all at once - about:config).

Looks like this was caused by the Vimium addon I’m using. Disabling it made it so that I could use escape to close the search window. Sorry about the noise, thanks again for your help and the plugin also :slight_smile:

1 Like

A great addition to silverbullet. Thanks a lot for sharing!

I’ve now been using this for a while and… it’s pretty damn awesome. Completely puts the built-in search to shame (which, admittedly, wasn’t hard). This should a plug that everybody installs, although for licensing reasons we probably have to keep it outside of the main distribution for now.

Probably should feature this a bit more promimently on the website at some point.

Thanks again :heart:

1 Like

Would it be possible to keep the plug code in a separate repo, but have the default installation just pull it in (so opt-out by removing a line in CONFIG)?

I don’t know if we wouldn’t get into muddy territory here, but what would be possible is for the default CONFIG to have the plug pre-listed, after which only a single Plugs: Update would pull it in.

3 Likes