Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interactively pick browser #26

Open
haroldcarr opened this issue May 18, 2024 · 1 comment
Open

interactively pick browser #26

haroldcarr opened this issue May 18, 2024 · 1 comment

Comments

@haroldcarr
Copy link

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
Copy link
Owner

agzam commented Jun 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants