vi exrc behaviour has changed??!!
Uwe Mager
jum at cosmo.UUCP
Tue Feb 16 06:41:20 AEST 1988
In article <16883 at watmath.waterloo.edu> rbutterworth at watmath.waterloo.edu (Ray Butterworth) writes:
>Actually, I'd like to see the current behaviour of .exrc changed
>to yet a third possibility.
>
>VI should not look in the current directory.
>It should look in the directory containing the file being edited.
>
>If I have a file with non-standard tabstops, I'll put the "set tabstop="
>command into a .exrc file in that file's directory.
I recommend putting a line like this into your file:
vi:set tabstop=4|set sw=4:
Vi will look for such lines in the first or last five lines of the file
being edited.
PS:
This is also a nice feature for attacks if you have an ! command
in the last five lines.
--
Jens-Uwe Mager
jum at focus.UUCP || jum at cosmo.UUCP
More information about the Comp.bugs.sys5
mailing list