Timeline for How to highlight windows end of line characters aka ^M, \r\n?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 26, 2016 at 15:55 | comment | added | Antony |
It doesn't, it tells you in your statusline what the line endings are. Line endings in vim are represented by a linebreak. If you have 'set ffs=unix' and load a DOS file, you'll have a bunch of ^M characters at the end of each line, highlighted with the SpecialKey group. Pretty hard to miss.
|
|
Jul 26, 2016 at 15:31 | comment | added | d.k |
@Antony sorry, I didn't get it, how it is supposed to highlight characters \r\n at the and of a line ? I did this and saw no difference.
|
|
Jul 26, 2016 at 14:47 | comment | added | Antony |
Just add [%{&ff}] to your 'statusline' . Newlines are represented by, well, new lines in Vim.
|
|
Jan 21, 2016 at 8:49 | vote | accept | d.k | ||
Jul 26, 2016 at 13:38 | |||||
Jan 18, 2016 at 16:47 | answer | added | d.k | timeline score: 1 | |
Jan 18, 2016 at 16:33 | history | edited | d.k | CC BY-SA 3.0 |
edited body
|
Jan 18, 2016 at 16:27 | history | asked | d.k | CC BY-SA 3.0 |