Program Python in VIM
mike at mhuffman.com
Sat Jan 24 18:55:12 CET 2004
Scott F <sdfATexpertuneDOTcom> wrote in message news:<Xns94797D940180Asdfexpertunecom at 126.96.36.199>...
> This should do it.
> map <somekey> :w<CR>:!python %<CR>
It does indeed, Thanks!
Unfortuantely I do not use vi consistently enough to ever get beyond
the basics. Had some false starts finding a good key to map that
worked on all my vi installations (Linux, Cygwin, Windows console);
settled on Ctrl-K: unused and easy to type.
Actually, at the moment I am using the maping for Perl, but don't tell
More information about the Python-list