Tuesday, August 25, 2015

ANN: SrchRplcHiGrp version 7

What is it?
-----------
SrchRplcHiGrp.vim  - Search and Replace based on a highlight group

SR = Search and/or Replace

This plugin defines some commands to allow you to: 
1.  Search for characters with a particular syntax highlight group 
2.  Search and replace characters with a particular syntax highlight group 

See web page for more details on the commands available.

Changes
------------

Changed SRSeach.  

It will first look for the next item that has the syntax group chosen via SRChooseHiGrp.  

It will also take an optional regular expression and not only find that syntax group, but also match the regular expression.

Added SRSearch!, which will find the next item that is NOT what was chosen via SRChooseHiGrp.  

Same applied with the regular expression, so if I put my cursor on a comment and 
    :SRChooseHiGrp.

Then ran 
    :SRSearch! something

It will find the word "something" that is NOT in a comment.




I am always open to suggestions, just email me.  See :h dbext.txt for contact details.

David

--
--
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.

No comments: