parkouss / webmacs

webmacs - keyboard driven (emacs key bindings) browser, https://webmacs.readthedocs.io/en/latest/
GNU General Public License v3.0
156 stars 21 forks source link

Change link hints to letters vs. numbers #57

Closed tinder-jonathanwilner closed 6 years ago

tinder-jonathanwilner commented 6 years ago

Hi there - again like vimium or qutebrowser, I'd love the option to have link hinting by letters. This means less finger movement up to the number row for me.

parkouss commented 6 years ago

Yeah, I thought about it a couple of times too :)

Well it is quite some work, but definitely something that I would like in webmacs, as an alternative to the current "way of hinting".

tinder-jonathanwilner commented 6 years ago

Cool! And related to my other post re: copying URLs, it would be great if when the user types the hint completely, the browser opens the URL - currently we have to hit enter via the status bar at the bottom of the browser.

parkouss commented 6 years ago

I created the branch alphabet-hint and there is a working version that you can try out.

You can checkout it, then in the configuration file:

from webmacs import variables variables.set("hint-method", "alphabet") And optionally, variables.set("hint-alphabet-characters", "auie,ctsrn")

It is also possible to customize the style with the hint-node-style variable (you can run M-x describe-variable on it for some help)

Also I changed the style of the hints, tell me what do you think of it.

tinder-jonathanwilner commented 6 years ago

Hi @parkouss - this is working perfectly - exactly as I expected, with the automated execution - no need to hit Enter. I love the new hinting style as well. Thank you!

parkouss commented 6 years ago

Awesome :) I just merged it (#64).