Quit (q)

quit

Syntax:

q

qq

Description:

This command terminates the current editing session. For your protection the editor will not let you quit via a single q if your buffer has been modified since the last time you saved it. You can force a quit without saving by using the second form, qq. The Quit command must be the last command on a line and must not be within a Global command to be recognized.

Current line:

Not affected.

Condition register:

Not affected.