Hacker News new | ask | show | jobs
by avgcorrection 891 days ago
Emacs has something similar in which-key.

Of course GUI apps have had pop-downs from the File-Edit-View-... row [since forever?] so that things like Alt+F will show contextual actions. But at least in the Emacs community people get blown away when someone makes such a basic addition.

2 comments

In Emacs, you can also insert C-h in a key combination. So you can do the basic things like

  C-h k   to pull up the help for a key combination
  C-h f   for a function 
  C-h v   for a variable
  C-h m   for currently active modes
But you can also do things like this:

  C-c C-h   to pull up every key combination that starts with C-c
Emacs has excellent discoverability out of the box thanks to this.
Yeah I love how you can interrogate things like that.

Meanwhile, in GUI land: here’s fifteen screenshots carefully manually highlighted which shows you how to change your language to Turkish.

Regular GUI apps are just too rigid.

You can also use Hydra for Emacs.[1] Once I discovered how to configure Hydra, I made it a habit to make one for every new major mode I need to use.

[1] https://github.com/abo-abo/hydra