Skip to main content
2 of 2
added 270 characters in body
phils
  • 55k
  • 3
  • 90
  • 134
  • Use define-prefix-command to define a named prefix
  • Bind C-c x to that prefix command
  • Bind s and r in the prefix command keymap

When you type C-c, which-key will then show you your chosen prefix name instead of just "prefix", which gives you better context for which commands you can expect to be bound underneath it.

Obviously you can type x (with or without doing the above) to see the bindings themselves.

phils
  • 55k
  • 3
  • 90
  • 134