CRLF (ne’s manual)

Next: VisualBell, Previous: PreserveCR, Up: Preferences Commands [Contents][Index]

#### 4.9.20 CRLF

Syntax: `CRLF [0|1]`
Abbreviation: `CRLF`

sets the CR/LF flag. When a file is saved from a document for which this flag is true, both a CR (carriage return) and a NL (new line) character are output as line terminators. This flag has no effect except when saving a file.

This flag is automatically set if you load a file that has at least one CR/LF sequence in it.

If you invoke `CRLF` with no arguments, it will toggle the flag. If you specify 0 or 1, the flag will be set to false or true, respectively. An upper case ‘`C`’ will appear on the status bar if the flag is true.