: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.
In reply to RE: RE: VI in Perl
by dmitri
in thread VI in Perl
by dmitri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |