diff options
author | fpi | 2022-02-20 18:09:49 +0100 |
---|---|---|
committer | fpi | 2022-03-17 14:39:47 +0100 |
commit | 65271be8bebd41f112a623db7ec6b6d3fbbc6526 (patch) | |
tree | 13d214a4601d039e02b0e021bf9d1339759db353 | |
parent | git-annex: Override recipe and fix package loading (diff) |
Add auto-insert package for file header templates
-rw-r--r-- | emacs-init.org | 10 |
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 |