Psearch : Vim plugin for parallel searching the pattern string
script karma |
Rating 84/23,
Downloaded by 940 |
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) |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.97.9.172
|