Insert the carriage return character in vim

前端 未结 1 590
无人及你
无人及你 2020-12-12 15:30

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

1条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-12 15:58

    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.

    0 讨论(0)
提交回复
热议问题