Insert the carriage return character in vim Insert the carriage return character in vim unix unix

Insert the carriage return character in vim


Type: ctrl-v ctrl-m

On Windows Use: ctrl-q ctrl-m

Ctrl-V tells vi that the next character typed should be inserted literally and ctrl-m is the keystroke for a carriage return.