use yasnippet in ac dropdown
dry up some configs