Skip to content

Internet search if string not found #18

Closed Answered by agzam
jayrajput asked this question in Q&A
Discussion options

You must be logged in to vote

If I understand it right, you want to open the popup, start typing something, and if it finds something in the browser history - great, if not, you want to issue a google search?

What you are looking for can be done via using Embark-become. However, browser-hist.el doesn't out of the box provide easy way to hook into that, at least I don't know a trivial way to achieve it easily. IMO, for that to work we need to make the command Consult-compatible, which @karthink and I discussed here and here.

Basically, you'd call browser-hist-search, then start typing, then press embark-become key, that maybe allows you to pass the query to engine-mode command (for example). engine-mode.el is a package…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jayrajput
Comment options

Answer selected by jayrajput
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants