sponsor Vim development Vim logo Vim Book Ad

Psearch : Vim plugin for parallel searching the pattern string

 script karma  Rating 84/23, Downloaded by 842  Comments, bugs, improvements  Vim wiki

created by
Jingwen Deng
 
script type
patch
 
description
Vim global plugin Psearch for parallel searching the pattern string in your current file.

There are two functions to find the pattern string. The second one support regular expression.

Psearch(arg1, arg2) is a function which can find your designated pattern string parallel and locate the cursor at the position of the next or the previous pattern string.
@param arg1 pattern string
@param arg2 find direction
'D' means find the next one
'F' means find the previous one

PRsearch(arg1, arg2) is a function which can find your designated regular expression parallel and locate the cursor at the position of the next or the previous string which matches the regular expression.
@param arg1 regular expression
@param arg2 find direction
'D' means find the next one
'F' means find the previous one
 
install details
To use the plugin,
1.You need to install python pprocess-0.5 fisrt. Decompress the pprocess-0.5.tar.gz and enter the directory. Use "python setup.py install" to install it.
2.Load and install the plugin, input ":source <path>/Psearch.vim" in the VIM command line.
3.How to call the functions:
In the VIM command line
:call Psearch(arg1, arg2)
:call PRsearch(arg1, arg2)
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
Psearch.zip Psearch 2013-06-04 7.0 Jingwen Deng Initial upload
ip used for rating: 18.221.146.223

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github