agzam / browser-hist.el

Search through browser history, in Emacs
GNU General Public License v3.0
44 stars 7 forks source link

interactively pick browser #26

Open haroldcarr opened 4 months ago

haroldcarr commented 4 months ago

something like this?:

(defun hc-browser-history ()
  "Search browser history."
  (interactive)
  (let ((browser (let ((choices '("brave" "chrome")))
                   (message "%s" (ido-completing-read "which browser: " choices)))))
    (setq browser-hist-default-browser (intern browser))
    (browser-hist-search)))
agzam commented 3 months ago

Yeah, it probably would be nice to have. However, I would like to think some more about multi-browser use-cases before adding anything related, since once added, commands will be difficult to remove later without breaking established workflows. In general, I think fetching history for multiple browsers would be more useful than supporting a single browser at a time.