Questions tagged [which-key]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
48 views

How can I prevent truncation when using which key?

When using which key, how can I see the whole function name and prevent it from being truncated. I've searched a bit on this and I'm just confused;). I'm not sure if this is a bug or a simple setting. ...
Jason Hunter's user avatar
0 votes
1 answer
492 views

Defining Spacemacs/Doom-like bindings with general.el and which-key, how to use :wk on all levels?

I'm trying to put together a config of my own after having used Spacemacs for a few years. To customize keybindings, and make them a bit Spacemacs-like, I'm trying out general.el. So far it seems to ...
Magnus's user avatar
  • 259
0 votes
1 answer
111 views

How to add prefix to suggestions in evil-mode?

Spacemacs has a way to add prefix descriptions with (spacemacs/declare-prefix ...). However, some evil-mode keybindings are lacking prefix descriptions. For example, in evil-mc g r is the prefix for ...
HRSE's user avatar
  • 123
0 votes
1 answer
577 views

Which-key: change next/previous page keybindings

This question has been edited thanks to dalanicolai. I want to change some of the default which-key key binds used to turn the pages. In which-key.el they are set like so: (defvar which-key-C-h-map (...
John Doe's user avatar
  • 169
0 votes
1 answer
201 views

Is possible to set which-key package minimum height?

I'm using the which-key package and I checked the docs and it seems you can set the max height for the buffer with (setq which-key-frame-max-height 20) , but I can't seem to find a way to set the ...
Fabman's user avatar
  • 578
2 votes
1 answer
248 views

Partly delete a key sequence?

I'm relatively new to Emacs, so apologies if I'm using any terminology incorrectly. I have installed Doom Emacs in Evil mode, so command shortcuts are commenced with SPC instead of Meta. When entering ...
JBentley's user avatar
  • 123
0 votes
1 answer
180 views

How to use prefix C-SPC instead of prefix C-h, for `which-key-mode-map`?

I'd like to change the C-h prefix to C-SPC and so I added the following to my init.el, but it has no effect. (define-key which-key-mode-map (kbd "<C-SPC>") 'which-key-C-h-dispatch) Help ...
Ari's user avatar
  • 339
2 votes
1 answer
98 views

How to show the beginning and end of a long function name in `which-key`?

By default, in which-key, descriptions that are longer than 27 characters are truncated, and .. is added. How can I prevent this eliding and show the beginning and end of a long function name?
Fangquan Shi's user avatar