Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Executing script from Vim, annoying...

by flexvault (Monsignor)
on Jul 20, 2012 at 12:38 UTC ( #982810=note: print w/replies, xml ) Need Help??

in reply to Executing script from Vim, annoying...


Not knowing your environment, these suggestion are just guesstimates.

I usually work on *nix, so I opened a XP laptop to verify this will work, and it did. so here goes.

I opened two command windows (cmd.exe) on the XP, ran Vim in one, and executed the edited Perl script in the other. I could edit with Vim and could interact with the running script by just switching windows.

For my *nix environments, I run 5 x-windows by default. 3 x-windows are used for Perl programming:

  • #1 for editing the Perl script
  • #2 for execution the Perl script
  • #3 for checking results of the Perl script, such as log files, etc.

The other 2 windows are used for doing system admin functions as needed. This way I can be interrupted for an emergency, and when things are fixed, I can go back to programming without missing a beat.

This may not be a solution to your problem, but it may help.

Good Luck!

"Well done is better than well said." - Benjamin Franklin

  • Comment on Re: Executing script from Vim, annoying...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://982810]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2018-03-23 07:58 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (288 votes). Check out past polls.