Comments (5)
The MatchIt plugin already provide this functionality
from matchtag.
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
from matchtag.
Sorry @Twinside , I didn't see your reply as I replied directly to an email. Thanks for pointing this out too.
from matchtag.
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.
+1
from matchtag.
Related Issues (20)
- Is there any way to work with other file extensions? HOT 3
- Please upload a newer version to vim.org. HOT 1
- Rename the scripts, as they are not core ftplugins. HOT 2
- Incorrect highlighting, when file are open from [g]vim menu HOT 18
- What should I do to match the tags in .twig files? HOT 1
- plugin doesn't highlights if tags are spread on multiple lines HOT 1
- Highight when no match is found HOT 1
- Can color be specifiled? HOT 2
- Why MatchTag is consume resources on filetype=vim (maybe others too)? HOT 1
- incorrect matching tagnames if multiline tags are in between
- Sugestion to works also whit <%= %> Ruby on Rails tags
- runt! html.vim may break other behavior
- Invisible tag HOT 1
- del
- removed (please delete)
- Pathogen incompatibility due to folder name HOT 4
- Plugin can not highlight on a split window HOT 1
- cutomize highlight color HOT 1
- Plugin failure HOT 9
- Neovim Support? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matchtag.