sponsor Vim development Vim logo Vim Book Ad

vim-do : Run shell commands asynchronously and show the output in Vim when they finish

 script karma  Rating 7/5, Downloaded by 743  Comments, bugs, improvements  Vim wiki

created by
Jon Cairns
 
script type
utility
 
description
For the full README visit the GitHub repo: https://github.com/joonty/vim-do.

== Description

The aim of this plugin is to provide a quick and simple way of running shell commands in the background, and displaying the results (output, exit status, etc) in a Vim buffer as the process is running. That means you can run several commands, carry on working in Vim, and swap between the processes at will or just keep them running hidden in the background.

It works nicely for both short- and long-running processes, and the great thing is that you don't have to swap between a terminal and Vim to run commands or see their output.

== Features

After installing (see below) you're given the :Do vim command, which allows you to run any shell command:

    :Do echo "hi"
    :Do rake
    :Do find /

Oops, that last command is gonna take a while...

But don't worry, it's asynchronous! A new buffer will pop up while it's running and show the output. If you close it, it will keep running until the command finishes naturally. You can run as many commands at the same time as your computer can handle.

For more information, continue reading on the GitHub README: https://github.com/joonty/vim-do.
 
install details
Requires Vim compiled with Python 2.4+ support

== Classic

Clone or download a tarball of the plugin and move its content in your ~/.vim/ directory.

Your ~/.vim/plugin/ directory should now contain the file "do.vim", and your autoload should contain the file "do.vim" and a directory called "python".

== Using git and Pathogen

Clone this repository in your ~/.vim/bundle directory

== Using vundle

Add this to your ~/.vimrc file:

    Bundle 'joonty/vim-do.git'

Then, from the command line, run:

    vim +BundleInstall +qall
 

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
vim-do-0.1.0.tar.gz 0.1.0 2015-12-10 7.0 Jon Cairns Initial upload
ip used for rating: 3.141.31.240

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