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.