fixed folding for vim files; added bindings for Tab & S-Tab; added function that recognizes UI type