Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 have an html file that I need to replace some characters with html entities. Right now I'm trying to replace with — but when I use the Replace All button, the result is that all of those instances of are replaced with —mdash;

The strange thing is that if I go to each, one by one, i.e., click Next, then click Replace, and so on, then it replaces it correctly.

Does the Replace All button treat the & character as a wild character? Or is this a bug in MacVim?

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.