[Novalug] vim "script" tricks
James Ewing Cottrell 3rd
JECottrell3 at Comcast.NET
Fri Dec 15 22:53:03 EST 2006
The time would seem right for a book on advanced vim, especially as far
as scripting is concerned.
However, this might be a good time to learn emacs and lisp :)
JIM
Paul wrote:
>On Thu, December 14, 2006 1:39 pm, Peter Larsen wrote:
>
>
>>Does anyone here work extensively with vim and knows how to make small
>>
>>
>scripts?
>
>
>>I am looking for a simple way of basically having a regular expression
>>
>>
>search for "identifiers" and put them in a buffer, and when the whole
>document has been searched, I want to loop through the found identifiers
>and add lines where the identifier is a parameter to the text I insert.
>
>
>>I know I need to use the secondary buffers - but how do you loop through
>>
>>
>those and insert them in your current buffer??
>
>
>>I'll be happy to just get a good link where I can do a little
>>
>>
>self-study.
>
>Look here, Perl would handle that nicely, and it's a great language to use
>for handling scripting chores.
>
>http://learn.perl.org/
>
>
>
>
>_______________________________________________
>Novalug mailing list
>Novalug at calypso.tux.org
>http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug
>
>
>
>
More information about the Novalug
mailing list