feat(emacs): org-tempo

This commit is contained in:
Pavel Korytov 2021-11-18 07:05:50 +03:00
parent d3f9973d63
commit aa530b1c73
2 changed files with 8 additions and 0 deletions

View file

@ -1347,6 +1347,10 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(add-hook 'org-mode-hook
(lambda ()
(rainbow-delimiters-mode -1)))
(require 'org-tempo)
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
(add-to-list 'org-structure-template-alist '("py" . "src python"))
(add-to-list 'org-structure-template-alist '("sq" . "src sql"))
(require 'org-crypt)
(org-crypt-use-before-save-magic)
(setq org-tags-exclude-from-inheritance (quote ("crypt")))

View file

@ -2322,6 +2322,10 @@ Use the built-in org mode.
(add-hook 'org-mode-hook
(lambda ()
(rainbow-delimiters-mode -1)))
(require 'org-tempo)
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
(add-to-list 'org-structure-template-alist '("py" . "src python"))
(add-to-list 'org-structure-template-alist '("sq" . "src sql"))
<<org-crypt-setup>>
(unless my/is-termux
<<org-lang-setup>>)