sponsor Vim development Vim logo Vim Book Ad

buffer-perlpython.pl : run 'perl -cw' or 'pychecker' over the buffer, display results in a new window

 script karma  Rating 11/8, Downloaded by 961  Comments, bugs, improvements  Vim wiki

created by
Adam Moore
 
script type
utility
 
description
Bindings to check or run perl/python and display the results in a new window.

When scripting:

F1: perl -cw or pychecker over the current buffer, results in a new window
F2: close the current window
F3: perl/python (actually run the script) the buffer, output in a new window
 
install details
Have this in my .vimrc, so using autocmds works for mapping F1/F2/F3. If you source it from anywhere other than your .vimrc you'll need to do so before opening the .py/.pl/.cgi file for the mappings to work.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
buffer-perlpython.vim 1.0 2004-10-01 6.0 Adam Moore Initial upload
ip used for rating: 3.138.134.107

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github