1.1 KiB
1.1 KiB
Useful Doom Emacs Commands
Notation
SPC
means space barC-
means hold downCtrl
M-
means hold downAlt
for non-Macs andOption
for MacsS-
means hold downShift
RET
means enter
Example C-c C-l
in Agda files is Ctrl-c
, let go, Ctrl-l
General Doom Emacs usage
SPC h b b
to look for bindingsSPC f f
to find files. can useTAB
for auto-completing pathsh j k l
for left down up rightSPC b k
to kill 'buffers'i
to go into 'insert' andESC
orC-g
to escape 'insert'.C-_
to undo
For beta users, to get the latest patch
- do
SPC g g
for "git status" - then
F
for pull (whilst in "git status")
Agda usage
C-c C-l
loads the fileC-c C-,
checks goal of the hole your cursor is in.C-c C-SPC
fills hole your cursor is in.C-c C-r
refines the hole your cursor is in.C-c C-c
does cases on terms in the hole your cursor is in.C-c C-d
used for checking types of termsC-c C-n
used for 'reducing' terms to their 'simplest form'C-c C-.
doesC-c C-,
andC-c C-d