Use Agda's input method in other emacs mode?

后端 未结 1 1677
盖世英雄少女心
盖世英雄少女心 2021-02-19 21:35

How do I use Agda\'s input method to enter unicode characters in non-Agda mode? I don\'t see its name showing up when I try set-input-method. The reason I want to u

1条回答
  •  日久生厌
    2021-02-19 21:57

    Add the following commands in your .emacs file:

    ;; Using the input method of Agda in LaTeX files.
    (require 'agda-input)
    (add-hook 'LaTeX-mode-hook
              (lambda () (set-input-method "Agda")))
    

    0 讨论(0)
提交回复
热议问题