Move yasnippet function