1 2 3 4 5
# -*- mode: snippet -*- # name: newcommand # key: cmd # -- \newcommand{\\${1:name}}${2:[${3:0}]}{$0}