summaryrefslogtreecommitdiffstats
path: root/.emacs.d/etc/yasnippet
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-08-09 16:36:14 -0400
committerAmin Bandali <bandali@gnu.org>2019-08-09 16:36:14 -0400
commit66e116a3bbfbb27636aad37ebb9bd39be50018cb (patch)
tree8f91dee7216b203137f8979abc5bd2917ce9c094 /.emacs.d/etc/yasnippet
parent561b2e778e4b7237fc57b7bc878e7d0664845193 (diff)
downloadconfigs-66e116a3bbfbb27636aad37ebb9bd39be50018cb.tar.gz
configs-66e116a3bbfbb27636aad37ebb9bd39be50018cb.tar.xz
configs-66e116a3bbfbb27636aad37ebb9bd39be50018cb.zip
emacs: add convenience yasnippets for ThankGNUs
Diffstat (limited to '.emacs.d/etc/yasnippet')
-rw-r--r--.emacs.d/etc/yasnippet/snippets/log-edit-mode/thankgnu5
-rw-r--r--.emacs.d/etc/yasnippet/snippets/message-mode/thankgnu7
2 files changed, 12 insertions, 0 deletions
diff --git a/.emacs.d/etc/yasnippet/snippets/log-edit-mode/thankgnu b/.emacs.d/etc/yasnippet/snippets/log-edit-mode/thankgnu
new file mode 100644
index 0000000..eb4f4ae
--- /dev/null
+++ b/.emacs.d/etc/yasnippet/snippets/log-edit-mode/thankgnu
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: thankgnu
+# key: th
+# --
+[RT#$1] Add ${2:$$(yas-choose-value '("Contributor" "Sustaining Contributor" "Patron"))} $3 to the 20${4:19} ThankGNUs list$0 \ No newline at end of file
diff --git a/.emacs.d/etc/yasnippet/snippets/message-mode/thankgnu b/.emacs.d/etc/yasnippet/snippets/message-mode/thankgnu
new file mode 100644
index 0000000..fcc2dd3
--- /dev/null
+++ b/.emacs.d/etc/yasnippet/snippets/message-mode/thankgnu
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: thankgnu
+# key: th
+# --
+Added ${2:$$(yas-choose-value '("Contributor" "Sustaining Contributor" "Patron"))} $3 to 20${4:19}supporters.html.
+
+Moving to campaigns.$0