I\'m editing a network protocol frame stored a file in Unix (\\n newlines). I need to insert the carriage return character (U+000D aka \\r
\\n
U+000D
\\r
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.