X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/c4b211177c12a97f8ffe10055325dd90a0a39b31..2ec18855d6d4e144776551dfb4921e1b133dfd29:/etc/yasnippet/snippets/latex-mode/cite diff --git a/etc/yasnippet/snippets/latex-mode/cite b/etc/yasnippet/snippets/latex-mode/cite new file mode 100644 index 0000000..3b4d161 --- /dev/null +++ b/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