Super User is a question and answer site for computer enthusiasts and power users. 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 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

You must log in to answer this question.

Browse other questions tagged .