"" PYTHON SPECIFIC SETTINGS python_highlight_all=1 " `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