Never mind. I figured it out.
I copied the "ini" mode definition from modes.rc into my .vilerc, and
changed it to remove the ".ini" file suffix from its list. The file
now comes up in conf mode.
paul
I wrote:
> A .ini file is edited in [inimode]. It's also edited with DOS line
> endings,
A .ini file is edited in [inimode]. It's also edited with DOS line
endings, i.e. [inimode crlf].
Normally when a file is in "crlf" mode, you can do "set nodos" before
writing it out to eliminate the DOS line endings.
But if the file is also in inimode, that doesn't work.
So I have a .ini file,
On Wed, Mar 06, 2024 at 09:58:26AM -0500, Paul Fox wrote:
> Never mind. I figured it out.
>
> I copied the "ini" mode definition from modes.rc into my .vilerc, and
> changed it to remove the ".ini" file suffix from its list. The file
> now comes up in conf mode.
that works.
I'd have just done
Thanks for the extra details.
paul
thomas wrote:
> On Wed, Mar 06, 2024 at 09:58:26AM -0500, Paul Fox wrote:
> > Never mind. I figured it out.
> >
> > I copied the "ini" mode definition from modes.rc into my .vilerc, and
> > changed it to remove the ".ini" file suffix from its list. The