keysnail icon indicating copy to clipboard operation
keysnail copied to clipboard

Configuring hints: Maximum hint length hok.hint_length

Open nochiel opened this issue 12 years ago • 2 comments

Is there a way to configure the maximum length of hints? This would be useful in situations where the screen is crowded with hints but because of their length and overlapping from other hints, it's not possible to see what the whole hint is.

E.g. I'd like to make it so that no hint is longer than two characters.

nochiel avatar Oct 17 '12 21:10 nochiel

Forgive the question: I'm new at this. I looked at the code for hok.ks.js and found the relevant option i.e.

plugins.options["hok.hintKeysLength"] = 2;

nochiel avatar Nov 02 '12 18:11 nochiel

Obviously, I got it wrong. There hint_keys option has a default of:

plugins.options["hok.hint_keys"] = "asdfghjkl";

By changing it to:

plugins.options["hok.hint_keys"] = "abcdefghijklmnopqrstuvwxyz";

I have hints of maxim length = 2 even on a page with may links. What would be useful, is an option like (when combinatorially possible):

plugins.options["hok.hint_length"] = 2;

nochiel avatar Nov 02 '12 20:11 nochiel