In Emacs the command
C-c C-e prompts for an environment to insert. After pressing
TAB I'd like to type just two letters
eq and get
equation*, which I use most of the times. Unfortunately, there are another two "undesirable" environments
eqnarray*, which I never use (in fact, they are even not recommended).
Of course, I can type three letters
equ and get what I want, but this is really much slower:
TAB are so easy to type by one hand. My guess was to look into
latex.el file for possible solutions: in that file I commented all lines with
eqnarray*. In result,
C-c C-e does not show
eqnarray* but still shows
I have no idea what to do further. Maybe there are better solutions instead of editing
I know that using YASnippets one can bind
equation and so on. In fact, I need to modify that list in order to be able to change one environment to another by
C-u C-C C-e.
Here is the solution proposed by ArashEsbati.