document updated 18 years ago, on May 4, 2006
- set up a Vim environment that aids cleanup of MOSDAB pages:
- syntax hilighting
- it hilights second and further links on a line
- it hilights periods, semicolons, dashes, emdashes, etc
- it hilights pipes
- it hilights '' or '''
- bind a single key that deletes unwanted content:
- when the cursor is positioned in the "x" part of "[[xxx|yyy]]", it removes the link and leaves "yyy"
- when the cursor is positioned in the "y" part of "[[xxx|yyy]]", it changes it to "[[xxx]]"
- when the cursor is positioned on a dash, emdash, etc, it turns it into a comma and a space