Vim Python Path Use gf to go to imports in python. This updates the path to search the python path. This will open __init__.py files if the path resolves to a directory. This does not handle from x import y.