Added the yasnippet module but did not enable it because it clashes with the autocomplete. Need to look at it later.