diff options
author | David Morgan <djm_uk@protonmail.com> | 2023-09-21 07:43:10 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2023-09-21 07:43:10 +0100 |
commit | 4bc5b2e9ca1a8a83749f2e0c58f12735f6fb9bf5 (patch) | |
tree | 4f75c078549ccf09540385d65aad1f7fabbc50c9 /.emacs.d/lisp | |
parent | 01ec245e0cbd6ab06c0e14df970bdc8488dc5006 (diff) | |
download | dotfiles-4bc5b2e9ca1a8a83749f2e0c58f12735f6fb9bf5.tar.gz |
Add abbrev for org-babel es blocks
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r-- | .emacs.d/lisp/init-org.el | 2 |
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) |