I don't know what to touch. When my cursor moves to the left of the parentheses, the right side of the parentheses is also covered by the cursor.

Is there any way to make my cursor only cover the left side of the parentheses?

What I mean is that when my cursor appears to the left of the parentheses, the right parentheses are also covered by blue squares.

Is there any way to make the right parentheses appear and make the blue square disappear?

enter image description here

  • 1
    See :h matchparen
    – muru
    Apr 13, 2023 at 2:51
  • You only have one cursor. What is the problem, exactly? That the matching parenthesis is highlighted or that your current colorscheme highlights it in a non-satisfactory way?
    – romainl
    Apr 13, 2023 at 5:12
  • My English is not very good, so there may be some issues with the way I express myself. Because this is my first time asking questions here, I am not very proficient in using this software yet
    – zjswantbe
    Apr 13, 2023 at 5:29
  • Did the answer adressed you question? If so maybe could you validate it using the v button next to the arrow voting buttons. It allow the question to rest :--) Apr 15, 2023 at 3:35

1 Answer 1


Following of the hint of @muru you can do:


If you want to disable it from startup you can add the following line in your ~/.vimrc file


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.