Try out yasnippet.