summaryrefslogtreecommitdiffstats
path: root/etc/yasnippet/snippets/latex-mode/cite
blob: 3b4d161e7dd1248f3eb9257bea7add71f14803bb (plain) (blame)
1
2
3
4
5
# -*- mode: snippet -*-
# name: cite
# key: c
# --
$1${2:~}\cite{${3:$$(unless yas-modified-p (mapconcat 'identity (reftex-citation 'dont-insert) ","))}}$0