How to disable parentheses highlighting feature in vi?

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux all versions. 
  • VI editor

Issue

  • How to set 'vi' so it does not high light Parentheses?

Resolution

  • This can be achieved either by executing  'NoMatchParen' at 'VI' prompt *OR * by creating .vimrc file in users home directory.

    • Create .vimrc file in your home directory.
    • Add below line to your ~/.vimrc file .

      let loaded_matchparen = 1
      
  • After modificaiton vim interface will not load pi_paren plugin which provides "Highlighting matching parens" functionality.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.