vimnewlinetext-editorline-breakscarriage-return

See line breaks and carriage returns in editor


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


Solution

  • Assuming your vim settings for :set listchars=... is set to visualize the characters you are attempting to see, in this case the carriage return characters (typed with CTL + V, CTRM + M) —— otherwise, as reported in many of the comments on this answer, the ^M character will not show on :set list

    :set list in Vim will show whitespace. End of lines show as '$'.