about summary refs log tree commit diff
path: root/users/grfn
diff options
context:
space:
mode:
authorAspen Smith <root@gws.fyi>2024-01-29T22·20-0500
committeraspen <root@gws.fyi>2024-01-30T17·28+0000
commit82d2a37f12d0e7e3f084a9d793319a55b56898c7 (patch)
tree6d14cb45af2a544ee9bfe243e74541baa5a8f55a /users/grfn
parent1dad7a144df308b1822fb15d683c902d74d58086 (diff)
feat(grfn/emacs): Add some bindings for ocaml r/7457
Change-Id: Idd81af0d30aa6cc3439d2916c799b493a7562878
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10707
Reviewed-by: aspen <root@gws.fyi>
Tested-by: BuildkiteCI
Autosubmit: aspen <root@gws.fyi>
Diffstat (limited to 'users/grfn')
-rw-r--r--users/grfn/emacs.d/+bindings.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/users/grfn/emacs.d/+bindings.el b/users/grfn/emacs.d/+bindings.el
index 35945fd415e2..0bcc92263571 100644
--- a/users/grfn/emacs.d/+bindings.el
+++ b/users/grfn/emacs.d/+bindings.el
@@ -1429,4 +1429,11 @@ If invoked with a prefix ARG eval the expression after inserting it"
 
  (:map prolog-mode-map
   :n "g SPC" #'prolog-compile-buffer
-  :n "g \\" #'run-prolog))
+  :n "g \\" #'run-prolog)
+
+ (:map tuareg-mode-map
+  :n "g RET" (λ! () (compile "dune build @@runtest"))
+  :n "g SPC" #'dune-promote
+  :n "g \\" #'utop
+  :n "g y" #'merlin-locate-type
+  "C-c C-f" (λ! () (compile "dune fmt"))))