Is there a possibility to display characters in a Vim window (that is: on the screen) that are different from the underlying characters in the buffer?
For example, if filetype is set to html, I'd (sometimes) like to see html-entities replaced by their humanly readable character (for example an ä
instead of ä
). Of course, this would entail that the rest of the line after the entity would have to be "shifted" to the left. If this is possible somehow, I'd appreciate any hint into the right direction.
If you're using 7.3 or newer, then you can make use of the conceal feature to do that. For example:
syntax match Entity "ä" conceal cchar=ä
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With