change to major mode to use yasnippet