Niesen's Logo
Quick Index

Meet the Niesens
Our Wedding
School, Employment, & Resume
Hobbies & Interests
  • Ballroom Dance
  • Cars
  • Cell Phone
  • Computers
  • Dining
  • Dragon Boat
  • Entertainment Sys
  • Hiking
  • Knitting
  • Sailing
    Weekly Picture Archive
    Recipes
    Aldi
    Product Reviews
    Links
    Mail to
    Claus   Melissa
  • Customization tips for the VI editor in OpenBSD

    Enabling spell checking with aspell

    In the ~/.exrc file add the following lines:

      map v :w^M:!aspell --lang en -e -c %^M:e^M^M
      map V :w^M:!aspell --lang de -e -c %^M:e^M^M
    This will map the "v" key to the English spell checker and the "V" key to the German spell checker. Neither keys are used by vi. Obviously you need to have aspell installed. Just use pkg_add.

    Note that the ^M are entered via the key combination <ctrl>+v followed by the <enter> key. If you just type ^M things will not work.

    Page last modified: January 17, 2008
    © Family Niesen 2001-2008