Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Nov 102010

Display non-printable character in vim


To display non-printable characters, such as control characters in vim, you can try the tricks below:

1. Press [ESC] to get into command mode

2. Enter :set list

If you want to turn off the non-printable character, enter :set nolist will revert the option set above.

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>