https://github.com/corwin-of-amber/sane-coq
Configuring Proof General for use with Coq is hard and the defaults suck. This is a simple baseline configuration for Emacs.
https://github.com/corwin-of-amber/sane-coq
coq emacs-configuration proof-general
Last synced: about 1 month ago
JSON representation
Configuring Proof General for use with Coq is hard and the defaults suck. This is a simple baseline configuration for Emacs.
- Host: GitHub
- URL: https://github.com/corwin-of-amber/sane-coq
- Owner: corwin-of-amber
- Created: 2018-02-25T12:26:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-13T16:08:19.000Z (over 7 years ago)
- Last Synced: 2025-02-16T17:57:01.676Z (4 months ago)
- Topics: coq, emacs-configuration, proof-general
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://github.com/cpitclaudel/company-coq) (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:
```bash
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.