set dir to temp directory as well for vim swap files
added markdown folding functionality