aboutsummaryrefslogtreecommitdiff
path: root/tempel-snippets.el
diff options
context:
space:
mode:
authorDaniel <[email protected]>2024-07-24 18:07:28 -0400
committerDaniel <[email protected]>2024-07-24 18:07:28 -0400
commitab5303981cf7a11f398a0cca54febbb68dd6152c (patch)
treee9d753d1686558117968c8eef4adcbb8af7f100d /tempel-snippets.el
parent968911647280be0ac19f7aad77d3005457ac5103 (diff)
shebang snippets
Diffstat (limited to 'tempel-snippets.el')
-rw-r--r--tempel-snippets.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/tempel-snippets.el b/tempel-snippets.el
index a4f6a30..10fdfcb 100644
--- a/tempel-snippets.el
+++ b/tempel-snippets.el
@@ -20,3 +20,12 @@ emacs-lisp-mode
(key "(define-key " p " (kbd \""p "\") #'"p")")
(hook "(add-hook '"(s hook-name) " #'" (s function-to-add) ")")
+
+sh-mode
+(! & "#!/usr/bin/bash" n q)
+
+perl-mode
+(! & "#!/usr/bin/perl" n "use strict;" n "use warnings;" n n q)
+
+conf-space-mode
+(func "DestroyFunc " p n "AddToFunc " p n q)