Description of problem: Many vim plugins use vim.py and don't function without this. vim is complied with python support but seems like this file was ommitted. Version-Release number of selected component (if applicable): vim --version VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Feb 13 2012 12:19:21) Included patches: 1-415, 417-444 Note: it has +python How reproducible: 100% Steps to Reproduce: 1.python 2.import vim 3. Actual results: >>> import vim Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named vim Expected results: no exception. Additional info: I am trying to use: ultisnips: http://www.vim.org/scripts/script.php?script_id=2715 also: https://dev.launchpad.net/UltimateVimPythonSetup example: " `gf` jumps to the filename under the cursor. Point at an import statement " and jump to it! python << EOF import os import sys import vim for p in sys.path: if os.path.isdir(p): vim.command(r"set path+=%s" % (p.replace(" ", r"\ "))) EOF
There is no such file like vim.py. The ultisnips scripts is intended to run within vim, not as a python. Please read the instructions at http://www.vim.org/scripts/script.php?script_id=2715