Store backup, swap and undo files in .vim directory. Set filetype detection for json and markdown.