See line breaks and carriage returns in editor

后端 未结 8 2248
臣服心动
臣服心动 2020-12-04 05:33

Does anyone know of a text editor on Linux that allows me to see line breaks and carriage returns? Does Vim support this feature?

8条回答
  •  抹茶落季
    2020-12-04 06:30

    To disagree with the official answer:

    :set list will not show ^M characters (CRs). Supplying the -b option to vi/vim will work. Or, once vim is loaded, type :e ++ff=unix.

提交回复
热议问题