summaryrefslogtreecommitdiff
path: root/emacs-init.org
diff options
context:
space:
mode:
Diffstat (limited to 'emacs-init.org')
-rw-r--r--emacs-init.org10
1 files changed, 10 insertions, 0 deletions
diff --git a/emacs-init.org b/emacs-init.org
index 5f26a68..f0631b9 100644
--- a/emacs-init.org
+++ b/emacs-init.org
@@ -47,6 +47,7 @@
- [[#ledger][Ledger]]
- [[#plotting-data][Plotting data]]
- [[#html-renderer][HTML renderer]]
+ - [[#auto-insert][Auto-Insert]]
- [[#email][Email]]
- [[#footnote-mode][Footnote Mode]]
- [[#bbdb][BBDB]]
@@ -5314,6 +5315,15 @@ Support for HTML code blocks with proper syntax highlighting. See [[https://gith
(advice-add 'eww-display-html :around
'eww-display-html--override-shr-external-rendering-functions))))
#+END_SRC
+** Auto-Insert
+#+begin_src emacs-lisp
+(use-package autoinsert
+ :config
+ (define-auto-insert '("\\.sh\\'" . "Shell script skeleton")
+ '(""
+ "#!/usr/bin/env bash" \n \n))
+ (auto-insert-mode 1))
+#+end_src
** Email
For the setup of external mail specific programs see [[file:mail.org]].
*** Sending mail