about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2023-09-21 07:43:10 +0100
committerDavid Morgan <djm_uk@protonmail.com>2023-09-21 07:43:10 +0100
commit4bc5b2e9ca1a8a83749f2e0c58f12735f6fb9bf5 (patch)
tree4f75c078549ccf09540385d65aad1f7fabbc50c9
parent01ec245e0cbd6ab06c0e14df970bdc8488dc5006 (diff)
downloaddotfiles-4bc5b2e9ca1a8a83749f2e0c58f12735f6fb9bf5.tar.gz
Add abbrev for org-babel es blocks
-rw-r--r--.emacs.d/lisp/init-org.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-org.el b/.emacs.d/lisp/init-org.el
index 5077030..7f26c0d 100644
--- a/.emacs.d/lisp/init-org.el
+++ b/.emacs.d/lisp/init-org.el
@@ -17,6 +17,8 @@
      (clojure . t)
      (restclient . t)
      (sql . t)))
+  (define-abbrev-table 'org-mode-abbrev-table
+    '(("esq" "#+BEGIN_SRC es :jq .\n\n#+END_SRC" (lambda () (forward-line -1)))))
   :bind
   ("C-c l" . org-store-link)
   ("C-c a" . org-agenda)