emacs-which-key
emacs-which-key copied to clipboard
add which-key-description-abbreviations
A list of abbreviations to use when the key description is too long. Will be applied before the text is truncated. Replacements are done in sequence, until all replacements are applied or if the text is below `which-key-max-description-length'
(C) assignment process has been completed, this PR will be submitted as update.
Can you give an example config for this? It's not immediately clear to me why this is necessary.
Example:
(customize-set-variable 'which-key-description-abbreviations
'(("window" . "wnd")))
which-key lives at the bottom of my screen. In case of columns that get truncated, the most interesting bits of the command live in the parts that get truncated. And sometimes I work on a laptop with a smaller screen
Eg With max-descriptive-length
and min-column-description-width
bot set to 20:
-
shrink-window-if-lar...
, is now `shrink-wnd-if-larger...' -
balance-windows
remanins stillbalance-windows