Excerpts from Krishna Rajendran's message of Wed Dec 02 22:49:50 +0100 2009: > > Thanks for pointing this out. I just noticed that ghc warnings catch > that issue too. I should have paid closer attention. > > While sed can use arbitrary characters in a substitution, vim cannot > use letters, and possibly other characters.
The Vim documentation says: Instead of the '/' which surrounds the pattern and replacement string, you can use any other single-byte character, but not an alphanumeric character, '\', '"' or '|'. This is useful if you want to include a '/' in the search pattern or replacement string. Example: > :s+/+//+ -- Nicolas Pouillard http://nicolaspouillard.fr --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---