TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am writing a report on robot wars (as funny as it sounds).

One major section in my report is on EMP Cannons. Whenever I type EMP I get this:


I am using macvim with some latex attachement. Does anyone know how I can figure out where this is coming from and disable it?

share|improve this question
up vote 4 down vote accepted

This is a vim latex-suite macro, the official way to disable these is described here

However I had trouble getting those instructions to work in the past. Eventually I created a file ~/.vim/after/ftplugin/tex/afterls.vim and added the line call IMAP('EMP', 'EMP', 'tex') which just expands EMP to EMP.

This is a very silly way to do it so I am looking forward to seeing the correct answer.

share|improve this answer

This found it:

% pwd
% grep -r EMP .
./ftplugin/latex-suite/wizardfuncs.vim:\."\n EFL   ".g:Tex_Leader2."fl   flushleft           EMP   ".g:Tex_Leader2."mp   minipage"
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.