Skip to content

Instantly share code, notes, and snippets.

@rizaudo
Last active August 29, 2015 14:24
Show Gist options
  • Save rizaudo/81b51d9434926ad845fe to your computer and use it in GitHub Desktop.
Save rizaudo/81b51d9434926ad845fe to your computer and use it in GitHub Desktop.
Coq-modeでj,kで証明を進めたい場合
;;; M-x coq-vi-modeでマイナーモードとして使ってください
(define-minor-mode coq-vi-mode
"Vi like proof in Proof General"
:lighter "coq-vi"
:keymap (let ((map (make-sparse-keymap)))
(define-key map "j" 'proof-assert-next-command-interactive) ;C-c C-n
(define-key map "k" 'proof-undo-last-successful-command) ;C-c C-u
map)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment