Added keymaps and a quick fix for filetype on osx