How do I get Vim to highlight matching parenthesis?

前端 未结 4 1199
无人及你
无人及你 2021-01-30 21:37

When I browse code in Vim, I need to see opening and closing parenthesis/ brackets, and pressing % seems unproductive.

I tried :set showmatch, bu

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-30 22:19

    DoMatchParen
    

    in your .vimrc file

    or

    :DoMatchParen
    

    within vim itself.

    Edit: This comes from the pi_paren plugin (which is a standard plugin).

提交回复
热议问题