Skip to content

Configuring Proof General for use with Coq is hard and the defaults suck. This is a simple baseline configuration for Emacs.

Notifications You must be signed in to change notification settings

corwin-of-amber/sane-coq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

sane-coq

This is a basic configuration to reduce the pain involved in starting to work with Coq on your computer via Proof General. It is based on suggestions from Clément Pit--Claudel (developer of company-coq).

Use it to configure:

  • Loading Proof General initialization file on startup
  • Activating company-coq minor mode when opening a Coq development
  • Useful keyboard shortcuts that are less painful than the default ones

To use it

Copy the contents of dot-emacs to your .emacs file (typically located in your home directory).

Modify the paths of the coqtop executable and Proof General package in the source.

  • To install Proof General in the same directory used by dot-emacs use the following commands:
git clone https://github.com/ProofGeneral/PG ~/.emacs.d/lisp/PG
cd ~/.emacs.d/lisp/PG
make
  • To install company-coq, in Emacs, type M-x package-refresh-contents RET followed by M-x package-install RET company-coq RET.

About

Configuring Proof General for use with Coq is hard and the defaults suck. This is a simple baseline configuration for Emacs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published