
.vimrc
teferi
2 Likes0 Commentspythonfunction! PythonPath() python << EOF import os.path import sys curdir = os.path.abspath(os.path.curdir) while curdir != '/': if os.path.exists(os.path.join(curdir, 'apps')): sys.path.insert(0, os.path.join(curdir, 'apps')) curdir = os.path.abspath(curdir + '/..') EOF endfunction call PythonPath()