See line breaks and carriage returns in editor

usertest picture usertest · Oct 5, 2010 · Viewed 297.1k times · Source

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

Answer

CaptSaltyJack picture CaptSaltyJack · Dec 2, 2014

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.