More keybindings

This commit is contained in:
Patrick Elliott 2018-09-03 16:11:08 +02:00
parent 57415658a0
commit 818df0afe4
No known key found for this signature in database
GPG key ID: 7CA109C3974AF5FA

View file

@ -41,9 +41,27 @@
(agda2-highlight-typechecks-face . font-lock-warning-face)))) (agda2-highlight-typechecks-face . font-lock-warning-face))))
:config :config
(map! :map agda2-mode-map (map! :map agda2-mode-map
:localleader :localleader
:n "l" #'agda2-load :n "?" #'agda2-show-goals
:n "d" #'agda2-infer-type-maybe-toplevel :n "." #'agda2-goal-and-context-and-inferred
:n "o" #'agda2-module-contents-maybe-toplevel :n "," #'agda2-goal-and-context
:n "n" #'agda2-compute-normalised-maybe-toplevel)) :n "=" #'agda2-show-constraints
;; TODO finish keybindings :n "SPC" #'agda2-give
:n "a" #'agda2-auto
:n "c" #'agda2-make-case
:n "d" #'agda2-infer-type-maybe-toplevel
:n "e" #'agda2-show-context
:n "gG" #'agda2-go-back
:n "h" #'agda2-helper-function-type
:n "l" #'agda2-load
:n "n" #'agda2-compute-normalised-maybe-toplevel
:n "p" #'agda2-module-contents-maybe-toplevel
:n "r" #'agda2-refine
:n "s" #'agda2-solveAll
:n "t" #'agda2-goal-type
:n "w" #'agda2-why-in-scope-maybe-toplevel
:n "xc" #'agda2-compile
:n "xd" #'agda2-remove-annotations
:n "xh" #'agda2-display-implicit-arguments
:n "xq" #'agda2-quit
:n "xr" #'agda2-restart))