X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/927b50b7aec2da105bd5125dec272a89e38663c3..d7dee82420a04e5c92e5b5ad316e14a49bd4d689:/.emacs.d/etc/yasnippet/snippets/latex-mode/cite diff --git a/.emacs.d/etc/yasnippet/snippets/latex-mode/cite b/.emacs.d/etc/yasnippet/snippets/latex-mode/cite new file mode 100644 index 0000000..3b4d161 --- /dev/null +++ b/.emacs.d/etc/yasnippet/snippets/latex-mode/cite @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: cite +# key: c +# -- +$1${2:~}\cite{${3:$$(unless yas-modified-p (mapconcat 'identity (reftex-citation 'dont-insert) ","))}}$0 \ No newline at end of file