Giter Site home page Giter Site logo

Comments (5)

Twinside avatar Twinside commented on September 14, 2024

The MatchIt plugin already provide this functionality

from matchtag.

gregsexton avatar gregsexton commented on September 14, 2024

Hi Dan,

This functionality is really outside of the scope of MatchTag. However I
believe the matchit plugin allows you to match tags using '%'. The
plugin is distributed as standard with Vim. See :help matchit.

Thanks,

Greg

On Fri, Dec 09, 2011 at 11:48:55AM -0800, Dan Masquelier wrote:

similar to how I can jump to matching brackets {} or () with %, it would be awesome if % let me jump to the highlighted tag.


Reply to this email directly or view it on GitHub:
#8

[email protected]

from matchtag.

gregsexton avatar gregsexton commented on September 14, 2024

Sorry @Twinside , I didn't see your reply as I replied directly to an email. Thanks for pointing this out too.

from matchtag.

dancrew32 avatar dancrew32 commented on September 14, 2024

So I tried out MatchIt and it's kind of awful for php mixed in with html.

<div>
    <?php echo $foo->bar?>
</div>

using matchit from the first div, hitting % jumps to -|> in $foo->bar.

your plugin's matching algorithm is clearly superior, which is why I wish it had this functionality.

from matchtag.

kitzberger avatar kitzberger commented on September 14, 2024

+1

from matchtag.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.