The main advantages of using Python in plugins is that it enables plugins to have access to network sockets, and perform long-running or expensive operations in the background without freezing the Vim UI. This is the reason it is commonly used with completion plugins. Vim plugins are able to execute Python code when Vim is compiled with Python support. However, default system installations of Vim