in reply to Piping data to vim
You're using perl to automate vim? That just makes my head hurt. Why not just edit the text using standard perl features? I can only assume that there are some vim packages you have installed that you're trying to take advantage of.
Anyway, if you want to automate vim from a perl script, it appears that Rolf already has you covered.
You could also call your perl script from within vim, if that would help things. For example, I frequently call out to the sort command to sort data in a document while in vim. There's no reason you can't call a perl script to process a section of text.
Or even uglier: you could have your perl script open a document in vim, and then tell it to execute a perl script from within vim. That'll certainly help you keep your job "interesting".
...roboticus
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Piping data to vim
by yoda54 (Monk) on Nov 19, 2010 at 04:50 UTC | |
by roboticus (Chancellor) on Nov 19, 2010 at 06:07 UTC | |
by yoda54 (Monk) on Nov 19, 2010 at 22:48 UTC | |
by cdarke (Prior) on Nov 19, 2010 at 12:23 UTC | |
by tod222 (Pilgrim) on Nov 19, 2010 at 20:21 UTC |