[emacs/lean-mode] use forward slash "/" as the prefix for lean-input
[~bandali/configs] / init.org
index e30ed14..289b22b 100644 (file)
--- a/init.org
+++ b/init.org
@@ -1160,7 +1160,12 @@ TODO: break this giant source block down into individual org sections.
               ("S-SPC" . company-complete))
   :config
   (require 'lean-input)
-  (setq default-input-method "Lean"))
+  (setq default-input-method "Lean"
+        lean-input-tweak-all '(lean-input-compose
+                               (lean-input-prepend "/")
+                               (lean-input-nonempty))
+        lean-input-user-translations '(("/" "/")))
+  (lean-input-setup))
   #+end_src
 
 ** Haskell