1 2 3 4 5
# -*- mode: snippet -*- # name: ref # key: r # -- $1${2:~}\ref{${3:$$(unless yas-modified-p (reftex-reference nil nil))}}$0