Hide non printable characters in vim

Posted by knittl on Super User See other posts from Super User or by knittl
Published on 2014-06-10T09:10:32Z Indexed on 2014/06/10 9:28 UTC
Read the original article Hit count: 220

Filed under:
|
|

Vim shows non-printable characters prefixed with a ^ (for instance ^@ for a NUL byte). I have a column based file containing both printable and non-printable characters which is difficult to read, since each non-printable character shifts all remaining columns one character to the right.

Is there a way to hide non-printable characters or simply display a placeholder char instead? I also don't mind having every character be represented by two characters.

© Super User or respective owner

Related posts about vim

Related posts about ascii