4 ms·
You could try looking into Qutebrowser, which is a keyboard driven browser designed with vim controls and is configured with python, so there is some room for e
by Ghjklov 7y ago
You could try looking into Qutebrowser, which is a keyboard driven browser designed with vim controls and is configured with python, so there is some room for extendability and scripting.
Without doing any work, I can:
(yy) Yank the URL of the current tab to the clipboard
(gD) Move current tab to a new window
With some work, it's not impossible to get the features you want, or something close.
- robenkleene 7y agoThanks yeah, I've never tried Qutebrowser but I've been curious whether it can do some the things I'm looking for. It sounds like it has some nice built-in bindings, but do you know if it can be scripted? E.g., Emacs can be scripted in Emacs Lisp, Vim can be scripted in Vimscript, and VS Code can be scripted in JavaScript. And all three can call-out to shell commands, including further processing the results of commands. If you know off-hand whether Qutebrowser has these features I'd love to know. (I've done a bit of research myself but haven't found much.)
- Ghjklov 7y agoYes, it supports some level of scripting that I have not personally explored yet. See here: https://www.qutebrowser.org/doc/userscripts.html https://www.qutebrowser.org/doc/userscripts.html Looks like you totally can set up a shortcut to open stuff(like URLs for instance) in other programs. If you can find some time for it, you should definitely give it a try. For the stuff you mentioned, looking at this tells me it shouldn't be impossible or even that hard.
- robenkleene 7y agoNice yeah, it does look promising. Doesn't look like full-blown scripting support like in the aforementioned text editors, more like the limited support that Mutt has. But this is definitely enough to pique my interest, and it looks better than anything I've seen in any other browser.