How to search for the next instance of a syntax group?
For example, say I have this .bashrc file:
ls foo
rm foo
"ls" is assigned the "bashStatement" syntax group.
How do I jump to the next token with that group?
Is there a way to get the regex expression from a syntax group?
If not... seems like there should be. A syntax-highlighted buffer has
lots of information encoded in it. There should be a way to leverage
that with motions, /, :s, and :g.
Justin M. Keyes
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thursday, February 12, 2015
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment