AUTOSPLIT Command

Controls whether text is split at the cursor when you press ENTER or RETURN, or when you are at a carriage return.
Category: Text editing, command-line command

Syntax

AUTOSPLIT <ON | OFF>

Without Arguments

The AUTOSPLIT command acts is toggled on and off. The first time you issue the AUTOSPLIT command, it reverses the current setting. If the current setting is ON, then issuing the AUTOSPLIT command changes the setting to OFF. If the current setting is OFF, then issuing the AUTOSPLIT command changes the setting to ON.

Optional Arguments

ON
turns on the AUTOSPLIT command in the window so that when you press ENTER or RETURN, or when you are at a carriage return, text automatically splits at the cursor.
OFF
turns off the AUTOSPLIT command in the window so that when you press ENTER or RETURN, or when you are at a carriage return, text does not automatically split at the cursor.

Details

The AUTOSPLIT command controls whether text is split at the cursor when you press ENTER or RETURN, or when you are at a carriage return. All text on the line, starting with the character on which the cursor is resting, moves to the left margin of the next line. The cursor is repositioned so that it rests on the first character of the new line.

Comparisons

Entering a carriage return with the AUTOSPLIT command turned on is identical to issuing the TS command with the default numeric argument of 1. The results of a carriage return with the AUTOSPLIT command turned on can be reversed by the TC command or undone with the UNDO command.