From: Amin Bandali Date: Fri, 30 Aug 2019 22:53:21 +0000 (-0400) Subject: emacs: yasnippet: "fix" cite X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/82fd2d5420051cfbabbeafbcf7b4ff536573ee1c?ds=sidebyside;hp=5e73fac6f4bcbc6268d546a89658c0b15a5eefe7 emacs: yasnippet: "fix" cite --- diff --git a/.emacs.d/etc/yasnippet/snippets/latex-mode/cite b/.emacs.d/etc/yasnippet/snippets/latex-mode/cite index 058bd2b..3b4d161 100644 --- a/.emacs.d/etc/yasnippet/snippets/latex-mode/cite +++ b/.emacs.d/etc/yasnippet/snippets/latex-mode/cite @@ -2,4 +2,4 @@ # name: cite # key: c # -- -${1:~}\cite{${2:$$(unless yas-modified-p (mapconcat 'identity (reftex-citation 'dont-insert) ","))}} $0 \ No newline at end of file +$1${2:~}\cite{${3:$$(unless yas-modified-p (mapconcat 'identity (reftex-citation 'dont-insert) ","))}}$0 \ No newline at end of file