In a command user interface (CUI) such as Emacs, the quantity of useful key-bindings quickly outpaces human memory. This is one of the major disadvantages compared to a GUI or dropdown UI (think: Photoshop or old MS Office), where everything is visually discoverable by the user. Emacs does have great internal documentation (via commands such as
M-x ...(list commands)), but generally fails to give the user any visual interface suggesting what commands are useful in the current environment. This is my attempt to provide such functionality.Note: many of the best terminal user interface (TUI) programs do this well.
My workflow consists of finding myself in an environment where I want a specific set of complex functionalities that I don’t know by heart (or have forgotten). For example, wanting to work with a spreadsheet or jupyter console. I then bring up the specific section of the cheatsheet via org-roam’s org-roam-node-find (SPC n r f). Et voila! You have a context specific user interface.
HELP: If you know a way to always make this action always pop up in a side/pop-up buffer (for specific files) please reach out time.
- may keybindings can be converted from doom to vanilla emacs with
SPC key1 key2→C-key1 key2
| C-h l | list previous commands |
describe personal keybindings |
| HEADINGS & NAVIGATION | |
| C-c C-u | outline-up-heading: jump to parent heading |
| SPC o p | toggle sidebar |
| ? | cheatsheet |
| right-click | gui menu |
| g | reload file |
| hjkl | scroll |
| C-j | page down |
| C-k | page up |
| M-s o | list all lines (containing a phrase) |
| f | inc. search links/references |
| o | display outline |
| +/- | zoom |
| H/W/P} | fit height/width/page |
| s b | trim margins |
| TODO | annotations (vs org-noter) |
|---|---|
| z m | midnight mode (match color scheme) |
| z p | printed (highlight links) |
| SPC RET | jump to bookmark |
*