VI Editor

Discussion in 'Server Operation' started by Spanish_Dalia, Apr 1, 2020.

  1. Spanish_Dalia

    Spanish_Dalia New Member

    I've been practicing some commands. Trying to become a little familiar with Linux. In trying to manage a file, I particularly wanted to identify all words that contained 'this'. I searched using /this and the words were then highlighted. However, as I continued doing practice commands, I could not remove the highlight. I tried typing the search again...quitting without saving :q! However, every time I started typing the same paragraph...the words were immediately highlighted.
    Is there a command that can remove the highlight or undo the search sort to speak, without having to completely start over?
  2. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    :set nohlsearch
    to turn it off permanently.
    Spanish_Dalia likes this.
  3. Spanish_Dalia

    Spanish_Dalia New Member

    Thank you. I will try that.

Share This Page