search

Home  >  Q&A  >  body text

When vim opens a file, a highlighted background is added to each line of font.

RT, I don’t know if I pressed which key by mistake. When opening a file or entering new content, there is always this highlighted background. Please tell me how to remove it. Thank you.

PHPzPHPz2818 days ago710

reply all(2)I'll reply

  • phpcn_u1582

    phpcn_u15822017-05-16 16:43:52

    Visual inspection shows that highlighted search is turned on, and the search keywords are accidentally lost.

    The operation method is to enter /. in visual mode

    Speculated recovery method (choose one of two):

    1. :set nohlsearch
    2. /mamashuosuibianshuruyhuicheshishi

    reply
    0
  • 阿神

    阿神2017-05-16 16:43:52

    Check if it’s a theme problem Try the settings

    :colo default
    

    or

    :colo desert
    

    reply
    0
  • Cancelreply