vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vile] inimode and line endings


From: lists-vile
Subject: [vile] inimode and line endings
Date: Mon, 6 Jun 2011 19:53:22 -0400
User-agent: Mutt/1.4.2.3i

We have a few config files on our unix systems that are *.ini style files but
these files have traditional UNIX LF line endings.  When the files are opened
in vile the status line shows [inimode crlf] and the I need to force vile to
write the files with the correct line endings using the set-rs-lf command or
setting nodos.

Putting the following in my .vilerc did not help:

~with define-submode ini
    rs=lf
~endwith

Also tried putting nodos in the submode as well... no effect.

However this setting at the bottom of the file does work:

# vile:rs=lf:

But not all my files have those lines and other users will forgot to do that. 
It seems that vile should not automatically assume CRLF endings for files on
UNIX systems even for *.ini files. Is there a way to change this behavior?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]