Hi, I want to write a macro, function or what else, which ensures, that no german umlauts (äöüÄÖÜ) or the "sz" (ß) will ever occure in any file written with vim. It does not matter, if these charactes will appear while typing but they should never and under no circumstances be saved to disk. Best solution however would be, if they were changed "on the fly" to their replacements: umlaut a ä -> ae umlaut o ö -> oe umlaut u ü -> ue
umlaut A Ü -> Ae umlaut O Ö -> Oe umlaut U Ü -> Ue "sz" ß -> sz I did some experiments, which had worked under some circumstances and did not under others. But I need something, which does the replacements under any condition. Keep editing! mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
