keysnail
keysnail copied to clipboard
Configuring hints: Maximum hint length hok.hint_length
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.
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;
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;