Vim can often show you text differing from the actual input, such as with non-printing characters, concealed text, etc. There are plugins which prettify text (for example, using a proper lambda character instead of
\ in Haskell). How can I copy the text so displayed?
I could use:
- the mouse
But I would prefer a within-Vim solution.
To clarify, I only care about the text, not colours or highlighting. For example, if it shows
^@ for NUL, or
^H for backspace, or
\, then I want my copied text to use