diff options
author | Amin Bandali <mab@gnu.org> | 2020-01-29 18:40:49 -0500 |
---|---|---|
committer | Amin Bandali <mab@gnu.org> | 2020-01-29 18:40:49 -0500 |
commit | 8676c0e62a08264cb5a8de7a74b71fc6a03cf65b (patch) | |
tree | 2f1418a8fdcb645b9cdf4ac3fd13b64947fa15ee /.emacs.d/etc/yasnippet/snippets/latex-mode/ref | |
parent | c474de33512ae47778e6680e5a62eb9d2f43e85f (diff) | |
download | configs-8676c0e62a08264cb5a8de7a74b71fc6a03cf65b.tar.gz configs-8676c0e62a08264cb5a8de7a74b71fc6a03cf65b.tar.xz configs-8676c0e62a08264cb5a8de7a74b71fc6a03cf65b.zip |
emacs: yasnippet: add some more convenience snippets for latex-mode
Diffstat (limited to '')
-rw-r--r-- | .emacs.d/etc/yasnippet/snippets/latex-mode/ref | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.emacs.d/etc/yasnippet/snippets/latex-mode/ref b/.emacs.d/etc/yasnippet/snippets/latex-mode/ref new file mode 100644 index 0000000..7eef596 --- /dev/null +++ b/.emacs.d/etc/yasnippet/snippets/latex-mode/ref @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: ref +# key: r +# -- +$1${2:~}\ref{${3:$$(unless yas-modified-p (reftex-reference nil nil))}}$0
\ No newline at end of file |