Home  >  Q&A  >  body text

Vim newline symbol display

How to make vim display 0x0d 0x0a using the following symbols
␍ U+240D SYMBOL FOR CARRIAGE RETURN
␤ U+2424 SYMBOL FOR NEWLINE

https://stackoverflow.com/questions/18927672/newline-symbol-unicode-character

^MIt’s ugly

This effect is similar to notepad++

淡淡烟草味淡淡烟草味2712 days ago792

reply all(3)I'll reply

  • 某草草

    某草草2017-05-16 16:40:04

    set conceallevel=2
    syn match CR "\r" conceal cchar=⏎
    hi clear Conceal

    reply
    0
  • PHP中文网

    PHP中文网2017-05-16 16:40:04

    This should be impossible at the moment

    reply
    0
  • 怪我咯

    怪我咯2017-05-16 16:40:04

    http://superuser.com/questions/382163/how-do-i-visualize-cr-lf-in-word

    Is this the question you asked, LZ?

    I didn’t read it carefully, but the problem description should be the effect you want. See if it can help you?

    reply
    0
  • Cancelreply