in reply to RE: VI in Perl
in thread VI in Perl
:s/foo/bar/g
is implemented internally using eval(). There is also a way to specify perl code from command line, i.e.:
:.,+10 {$_=reverse}
to reverse 11 lines.
This project of mine is far from complete, and the code is messy and unoptimized. However I hope that it will be a good learning experience (it already has), and maybe in a couple of weeks I will use vip to develop vip. :)
Next big things on my list are recovery and a cache to optimize the linked list access (right now it is pretty slow, look for /_get_reference_to_number/ in v_list.
- Dmitri.
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: VI in Perl
by Dominus (Parson) on Nov 16, 2000 at 02:19 UTC | |
by dmitri (Priest) on Nov 16, 2000 at 02:27 UTC | |
by dmitri (Priest) on Dec 16, 2000 at 23:56 UTC | |
by Anonymous Monk on Jan 26, 2001 at 21:59 UTC |