Skip to content

Instantly share code, notes, and snippets.

@andres-erbsen
Created February 7, 2018 19:14
Show Gist options
  • Save andres-erbsen/60cc8e47f9c70ecc08c665b408136d2e to your computer and use it in GitHub Desktop.
Save andres-erbsen/60cc8e47f9c70ecc08c665b408136d2e to your computer and use it in GitHub Desktop.
Coq IDE for vim users -- it is less painful to put up with evil-mode issues than with the issues of any coq plugin for vim
;; coq
(require 'proof-site "/usr/share/emacs/site-lisp/ProofGeneral/generic/proof-site.el")
(setq coq-mode-abbrev-table '())
(add-hook 'coq-mode-hook #'(lambda () (modify-syntax-entry ?_ "w")))
(add-hook 'coq-mode-hook #'(lambda () (modify-syntax-entry ?' "w")))
;; vim-style shortcuts
(require 'undo-tree)
(require 'evil)
(evil-mode 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment