Vimscript looks somewhat similar to Python code.Can Vim be integrated with high-level language interpreters, such as Python?
Can I script Vim using Python?
vimscript python
Yes, vim can be built with several different language interpreters available. This is something you (or your distro) picked when compiling vim from source.Available at least are Python (as you requested), Perl, Ruby, and Tcl. The vim documentation has details for each; the python one is in :help if_pyth.txt. That document has plenty of examples.For reference, here are the ones for other languages:Perl: :help if_perl.txtRuby: :help if_ruby.txtTcl: :help if_tcl.txtLua: :help if_lua.txtMzScheme: :help if_mzscheme.txt (It's called Racket now, but in Vim it's still called MzScheme for historical reasons).