Program Python in VIM

Chris Raspe craspe at
Thu Jan 22 18:38:59 CET 2004

from the VIM FAQ...

30.1. Can I run a shell inside a Vim window?

Currently Vim doesn't have support for running shell and other external
commands inside a Vim window.

For more information, read

   :help shell-window

Alternatively, you can try using the Unix  "screen" utility or the 'splitvt'

You can also use the vimsh plugin by Brian Sturk to run a shell in a Vim
window. To use this you need to have Vim built with python support. For
more information visit the following URL:

On Thu, 22 Jan 2004 11:17:56 -0500, Peter Wu wrote
> I'm giving vim a try to program Python. The following are the steps I
> follow to code/test a python program.
> vi
> [key in some python code]
> :wq
> :!python
> Is there any other way? I don't want to type 'python' every time
> I've made any modifications. In Emacs, I can simply fire C-c C-c to fire
> the python interpreter. Thanks!
> -- 
>        ,,,
>       (o o)       Peter Wu
> ---ooO-(_)-Ooo--- Powered by GNU/Linux 2.4.22
> -- 

More information about the Python-list mailing list