sponsor Vim development Vim logo Vim Book Ad

Bexec : Execute script in buffer and display output in buffer.

 script karma  Rating 43/16, Downloaded by 1597    Comments, bugs, improvements  Vim wiki

created by
Ferry Boender
 
script type
utility
 
description
The Bexec plugin allows the user to execute the current buffer if it contains a script with a shebang (#!/path/to/interpreter) on the first line or if the default interpreter for the script's type is known by Bexec. The output of the script will be grabbed and displayed in a separate buffer.

It can be used to execute, for instance, Shell, PHP, PERL, Python or SQL scripts from within Vim.

Screenshots can be found at: https://bitbucket.org/fboender/bexec/wiki/Screenshots
 
install details
Edit bexec-vX.Y.vmb in vim and run:

:so %
 

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
bexec-v0.6.vmb 0.6 2014-03-31 7.0 Ferry Boender Support / fix for Windows (by mohd-akram).
bexec-0.5.vba 0.5 2011-02-04 7.0 Ferry Boender Bugfix in argument handling in Visual mode execution. Range is appended to argument-string, which is wrong. (Mostly affected Zsh users).

Leader-mappings <leader>bx and <leader>bc are now mapped regardless of previously existing (custom) mappings to Bexec() functions.
bexec-v0.3.vba 0.3 2007-02-07 7.0 Ferry Boender A bexec_interpreter setting was added which overrides all other ways of finding an interpreter. A (requested) function BexecCloseOut() was added which closes the output window.
bexec-v0.2.vba 0.2 2007-01-31 7.0 Ferry Boender The <F5> mapping has been removed in favour of <leader>bx. Custom filters where added (see :help bexec-customizing) and it is now possible to add your own known interpreters and custom filters from your .vimrc.
bexec-v0.1.vba 0.1 2007-01-30 7.0 Ferry Boender Initial upload
ip used for rating: 50.16.130.188

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.
   
SourceForge.net Logo