add a Python command that is able to execute python3 and python2

This commit is contained in:
David Halter
2013-01-06 23:55:24 +01:00
parent c92233e42f
commit b63454ebd4

View File

@@ -51,4 +51,10 @@ if g:jedi#auto_initialization
autocmd FileType python setlocal omnifunc=jedi#complete switchbuf=useopen " needed for pydoc
endif
if has('python')
command! Python python
else
command! Python python3
end
" vim: set et ts=4: