Skip to content

juniorxxue/emacs.d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coq & Agda Configs of Emacs

Screenshot

Cheatsheet

In Emacs's universe, C-x stands for holding Control and then press X, M-x stands for holding Meta key Cmd and then press X.

Frequent Editing Commands

Shortcuts Functions
M-w copy
C-y paste
C-a move cursor to start of the line
C-e move cursor to end of the line
C-k delete line of current content to cursor
C-p move cursor to previous line
C-n move cursor to next line
M-j scroll screen down
M-k scroll screen up
C-f forward cursor one char
C-b backward cursor one char
C-s search
C-x C-f open file
C-x p open file in current project (don't use it in home directory)
C-x u undo

Selection Form (Completion, Minibuffer)

Shortcuts Functions
C-p previous candidate
C-n next candidate
Enter confirm
C-g quit (I don't want to select any)

Proof General

Shortcuts Functions
C-c C-return run code to this point
M-p run previous command
M-n run next command
M-h coq-Check

Agda Mode

Shortcuts Functions
C-l load file