in reply to QuickPerl: a step up from -e
It saves my current buffer, then runs perl -wc on the file, displaying the output. I can bind that to any keystroke I want. (Or, if I were kinky enough to use the mouse aware xvile, to a button or menu-item)18 store-macro save-file shell-command &cat "/opt/perl/bin/perl -wc " $cfilname ~endm
Parsing the output of perl -wc (even with Perl if you want to, many vi-clones can have a Perl compiler/interpreter linked in) and positioning the cursor on the line of the first error would be a not to hard, logical extension.
I certainly wouldn't want to cook up a Tk kludge, and edit in something else than my favourite editor.
-- Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: QuickPerl: a step up from -e
by John M. Dlugosz (Monsignor) on Jul 05, 2001 at 02:18 UTC | |
by Abigail (Deacon) on Jul 05, 2001 at 03:55 UTC | |
by John M. Dlugosz (Monsignor) on Jul 05, 2001 at 06:10 UTC | |
by ichimunki (Priest) on Jul 05, 2001 at 07:15 UTC | |
by John M. Dlugosz (Monsignor) on Jul 05, 2001 at 08:07 UTC | |
| |
by Abigail (Deacon) on Jul 05, 2001 at 09:48 UTC | |
by John M. Dlugosz (Monsignor) on Jul 05, 2001 at 10:57 UTC | |
|