@staticmethod
    def gf(ctx, obj, path):
        '''
        find file in vim like rule

        - search relative to the directory of the current file
        - search in the git root directory

        return Blob/Tree/LinkObject or None if no file found
        '''
        try:
            return obj.parent[path]

        except KeyError:
            tree = obj.commit.tree
            try:
                return tree[path]

            except __HOLE__:
                # can't find file
                return None
dataset/ETHPy150Open nakamuray/blikit/blikit/docutilsext.py/HTMLTranslator.gf