Generate tmp directory for go-to-metadata buffer
Simplify code
Simplify code (bis)
Merge pull request #865 from OkayX6/go-to-metadata-tmp-directory

Go to metadata tmp directory