← Back to context

Comment by jerf

9 years ago

If you're wondering "why not ^Q then Enter?", that gets you CR or ^M, but in UNIX, newline or ^J is what gets you to the next line.

So, yes, you normally push CR to enter the LF character.

The confusions between CR and LF run deep and wide, even in the UNIX world.

You will also see ^M on the end of each line in vim, if you open a CRLF line terminated file in it, but it thinks it's a LF line terminated file.