From: Amin Bandali Date: Tue, 30 Oct 2018 03:28:22 +0000 (-0400) Subject: [emacs] use lean-input as default input method, toggled with C-\ X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/2e7aa30f7e46eabf984adc1018d7ccbdfefecca8?ds=sidebyside;hp=bdf99c0db4a98f1dde69afff7e391286c4526fac [emacs] use lean-input as default input method, toggled with C-\ super handy for inserting logical symbols like ∧,∨,→,↔,≡,≜,∩,∪,λ,∘,⋯ --- diff --git a/init.org b/init.org index 75e92ee..3448670 100644 --- a/init.org +++ b/init.org @@ -1134,9 +1134,13 @@ TODO: break this giant source block down into individual org sections. #+begin_src emacs-lisp (eval-when-compile (defvar lean-mode-map)) (use-package lean-mode + :defer 2 :bind (:map lean-mode-map - ("S-SPC" . company-complete))) -#+end_src + ("S-SPC" . company-complete)) + :config + (require 'lean-input) + (setq default-input-method "Lean")) + #+end_src ** Haskell