CentOS Linux Server Guide

Vi Editor - Remove Highligh in Search String

For Vi Editor, searching for character string must be performed in command mode. The search string will then be highlighted and will remain highlighted until next search function is preformed . Sometimes such highlight would be annoying, you can actually remove it under command mode

 
Command Description
:nohl turn off the highlighted string in VI command mode

 

Read more on Visual Editor (VI)



Copyright 2011 http://www.1a-centosserver.com All Rights Reserved

All trademarks are the property of their respective owners.

Contact Us | Terms of Use | Privacy Policy