I am using the Vim version 8.0 editor, mostly via GVim. I would like to be able to type unicode/greek characters like lambda, mu, alpha inside my Haskell scripts.
There is a vim plugin called latex-unicoder which is almost what I want. The disadvantage of the plugin is that I need to repeatedly go into Normal mode, press Ctrl-L insert the latex symbol for the character and then manually go back into insert mode.
This is quite tedious. Emacs has something called M-x set-input-method [RET] tex which automatically and immediately replaces the occurences of \lambda, \alpha by their corresponding Greek characters.
Since I intend to use only a handful of greek characters, I am willing to manually create such a dictionary of Greek characters for automatic insertion when their latex name is written.
How should I go about doing this?