diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim new file mode 100644 index 0000000..a4ba4a5 --- /dev/null +++ b/vim/ftplugin/python.vim @@ -0,0 +1,6 @@ +fu PyRun() range + echo system('python -c ' . shellescape(join(getline(a:firstline, a:lastline), "\n"))) +endf + +vmap :call PyRun() +