vi and ispell
E Frank Ball
frankb at efball.com
Tue Apr 4 13:43:03 PDT 2000
Ok I have a vi question I didn't think of when we had our guest speaker on vi.
On HP-UX I have this in my ~/.exrc file:
map ^T :w^M:!ispell -x % ^M:e!^M^M
And when I'm editing a file I type a <ctrl>t and it pipes the file to ispell.
On Linux this doesn't work, unless the file is in my home directory.
It comes back with:
:!ispell filename
ispell: specified file does not exist
where filename is the name of the file I'm editing.
If I type in
:!ispell -x /fullpath/%
Then it works.
How can I make vi look in my current directory instead of my home directory?
E Frank Ball frankb at efball.com
More information about the talk
mailing list