On 01/28/2011 07:27 PM, David Fishburn wrote:
SRSearch optionally takes parameters.
Oh.
I'v already done without srhg.
May be it will be usefull for someone. This function finds DNS zone
serial and
increments it.
function AdjustSerial()
let l:pos = getpos( '.' )
call
On 1/18/2011 2:40 AM, sergio wrote:
On 01/18/2011 05:55 AM, David Fishburn wrote:
GOTO zone serial
^^
:SRChooseHiGrp
You simply run those commands from within your script.
Have you tried it?
No. Because I don't know how to select zoneSerial group from script.
The first
--
David Fishburn
Solutions Architect
iAnywhere Solutions / Sybase
On 1/18/2011 4:01 AM, Christian Brabandt wrote:
On Tue, January 18, 2011 8:40 am, sergio wrote:
On 01/18/2011 05:55 AM, David Fishburn wrote:
GOTO zone serial
^^
:SRChooseHiGrp
You simply run those
On Tue, January 18, 2011 8:40 am, sergio wrote:
On 01/18/2011 05:55 AM, David Fishburn wrote:
GOTO zone serial
^^
:SRChooseHiGrp
You simply run those commands from within your script.
Have you tried it?
No. Because I don't know how to select zoneSerial group from
Hello, David.
I did not understand how how to select group from script.
For example I still want to substitute zoneSerial in bindzone file.
GOTO zone serial
:SRChooseHiGrp
:%SRHiGrp '\(\d\+\)','test'
How to do this from script?
--
sergio.
--
You received this message from the vim_use
On 12/30/2010 10:41 PM, sergio wrote:
On 12/31/2010 06:13 AM, David Fishburn wrote:
As Chip mentioned, I definitely want to know of any bugs.
1)
I've not understand how to select highlight group from script.
(For example I need to select zoneSerial group)
2)
% vim bindzone
:source
On 01/01/2011 11:03 PM, David Fishburn wrote:
What the plugin does, it is positions the cursor to the required
highlight group and then runs Vim's standard regex.
I guessed.
This took care of the entire file:
:%SRHiGrp '\(\d\+\)','__\1__'
Yes, in my case this will work fine.
But what if
Hi sergio!
On Fr, 31 Dez 2010, sergio wrote:
2)
% vim bindzone
:source incoming/srhg/plugin/SrchRplcHiGrp.vim
GOTO zone serial
:SRChooseHiGrp
SRHiGrp - Group ID: 97 Name: zoneSerial
:SRHiGrp '\(.*\)','__\1__'
.* also includes comment, that exists on this line: so I get:
__2007031901 ;
Can you provide the text of the file you are editing.
--
David Fishburn
On Dec 30, 2010, at 10:41 PM, sergio mail...@sergio.spb.ru wrote:
On 12/31/2010 06:13 AM, David Fishburn wrote:
As Chip mentioned, I definitely want to know of any bugs.
1)
I've not understand how to select
On 12/31/2010 05:32 PM, David Fishburn wrote:
Can you provide the text of the file you are editing.
Forgot to say, I'm using vim 7.3.35 from debian sid.
--
sergio.
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below the text you are replying to.
For
On 12/30/2010 05:13 AM, Charles E Campbell Jr wrote:
See if David Fishburn's SrchRplcHiGrp plugin does what you want:
http://www.vim.org/script.php?script_id=848
Yes, it does. But it's buggy and old.
Can vim do this without plugins?
--
sergio.
--
You received this message from the vim_use
On Dec 30, 2010, at 7:04 PM, Charles E Campbell Jr drc...@campbellfamily.biz
wrote:
sergio wrote:
On 12/30/2010 05:13 AM, Charles E Campbell Jr wrote:
See if David Fishburn's SrchRplcHiGrp plugin does what you want:
http://www.vim.org/script.php?script_id=848
Yes, it does. But it's
On 12/31/2010 06:13 AM, David Fishburn wrote:
As Chip mentioned, I definitely want to know of any bugs.
1)
I've not understand how to select highlight group from script.
(For example I need to select zoneSerial group)
2)
% vim bindzone
:source incoming/srhg/plugin/SrchRplcHiGrp.vim
GOTO zone
sergio wrote:
Hello.
Is there a way to substitute within a highlight group?
I have file, with detected filetype and applied syntax. Syntax gives
the group. And I want to make a substitution, for that text, that
matches this group. (Really this is a bindzone file, and I want to
adjust serial
Hello.
Is there a way to substitute within a highlight group?
I have file, with detected filetype and applied syntax. Syntax gives the
group. And I want to make a substitution, for that text, that matches
this group. (Really this is a bindzone file, and I want to adjust serial
value
Hello.
Is there a way to substitute within a highlight group?
I have file, with detected filetype and applied syntax. Syntax gives the
group. And I want to make a substitution, for that text, that matches
this group. (Really this is a bindzone file, and I want to adjust serial
value
16 matches
Mail list logo