vimb icon indicating copy to clipboard operation
vimb copied to clipboard

f use characters instead of numbers to index links

Open ghost opened this issue 4 years ago • 2 comments

In vimb, when I press f to show links, it indexes links with numbers. To go to a link, I have to move my fingers from the home row to the numbers row, which is very inconvenient ( not to mention that the numbers are hard to read).

(Screenshot from vimb, version 3.6.0 on Linux) f_vimb

Is there any way for f to index links using characters instead, like this?

(Screenshot from Firefox 89 with Vimium extension on Linux) f_firefox

ghost avatar Jun 07 '21 02:06 ghost

@DorisCarson To change the labels for the hints you can set the characters to use via :set hint-keys=asdfhjkl. But if you use this, can't filter down the hinted elements by their text content, at least not for those home row chars. If you use chars as hint label it could be worth to also enable :hset int-keys-same-length=on to ensure all the labels use the same word length. To change the size of the hints you could add some css to the .config/vimb/styles.css file like this to overrule the default styling

span[vimbhint^='label'] {
    font-size: 18px !important;
}

You can see an example for possible changes at https://fanglingsu.github.io/vimb/howto.html#dark-theme.

fanglingsu avatar Jun 08 '21 21:06 fanglingsu

This issue has been automatically marked as stale because it has not had activity within the last 60 days.

stale[bot] avatar Apr 16 '22 09:04 stale[bot]