Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8485069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:32:31+00:00 2026-06-10T20:32:31+00:00

So, Vim, like most programming-minded text editors, highlights a matching scope character (such as

  • 0

So, Vim, like most programming-minded text editors, highlights a matching “scope” character (such as ( and ), < and >, and { and }).

I’m wondering, is there a motion to reach that character from the other? Like, with the caret on a <, to move to the (highlighted) matching >?

I know [action]t> or [action]f> would accomplish something similar. That’s not what I’m asking.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T20:32:32+00:00Added an answer on June 10, 2026 at 8:32 pm

    The motion is: %.

    Used alone, this jumps between open/close pairs based on the value of the matchpairs option.

    But angle brackets – <> – aren’t included by default. They may be set based on the filetype. The HTML filetype plugin sets it, so if you’re opening HTML files you’ll be able to use % to jump between matching angle brackets. But not for e.g. C++/Java.

    To add angle brackets if they aren’t jumped when using %, use:

    :set matchpairs+=<:>
    

    Now using % on angle brackets should jump to the matching bracket.

    See :help 'matchpairs' and :help various-motions – % is the first mentioned – for more details.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm wondering if there's a command in Vim I'm missing that does columnar motion.
I like the Linux operating system and vim editor, but there are many companies
I, like most Vim users, like mapping key combinations for normal mode to increase
Summary: I'd like to view my text in vim with a small bit of
I'm a mac user giving vim a serious try. Most of the GUI editors
Since 6 months I'm using the excellent Vim text-editor. The most interesting thing is
I'm looking for a perfect text editor :) The must have list: vim-like modal
Just curious, kinda like the distraction free mode of editors like sublime text ,
I've looked at most of the IDE's out there. I've set up vim to
I'm trying to incorporate vim like functionality in a text editor I am creating

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.