[emacs/lean-mode] use forward slash "/" as the prefix for lean-input
authorAmin Bandali <bandali@gnu.org>
Sun, 11 Nov 2018 02:20:07 +0000 (21:20 -0500)
committerAmin Bandali <bandali@gnu.org>
Sun, 11 Nov 2018 02:20:07 +0000 (21:20 -0500)
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