Skip to content

Instantly share code, notes, and snippets.

@herminiotorres
Last active February 27, 2021 17:50
Show Gist options
  • Save herminiotorres/f4d0ac27b8303a38ccf10337a9700917 to your computer and use it in GitHub Desktop.
Save herminiotorres/f4d0ac27b8303a38ccf10337a9700917 to your computer and use it in GitHub Desktop.
emacs doom commands

emacs doom

C-x: press the x key while holding down the Control key M-x: press the x key while holding down the Meta key (if your computer doesn’t have a Meta key, see No Meta key) M-C-x: press the x key while holding down both Control and Meta C-M-x: a synonym for the above LFD: Linefeed or Newline; same as C-j RET: Return, sometimes marked Enter; same as C-m DEL: Delete, usually not the same as Backspace; same as C-? (see Backspace invokes help, if deleting invokes Emacs help) ESC: Escape; same as C-[ TAB: Tab; same as C-i SPC: Space bar

Useful keybindings

commanddescription
MAlt
CControl
sSuper (command on macOS)
SShift
SPCSpace
RETReturn

Commands

exunit-mode

The exunit-mode prefix is SPC m t. Here is some examples:

commandkey / ex commanddescription
exunit-verify-allSPC m t aRuns exunit on all files
exunit-rerunSPC m t rRe-runs last exunit command
exunit-verifySPC m t vRuns exunit on current file
exunit-verify-singleSPC m t sRuns exunit for the item on cursor
exunit-toggle-file-and-testSPC m t tSwitch between implementation and test
exunit-toggle-file-and-test-other-windowSPC m t TSwitch between implementation and test in other window
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment