mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 11:43:03 +03:00
feat(emacs): org-tempo
This commit is contained in:
parent
d3f9973d63
commit
aa530b1c73
2 changed files with 8 additions and 0 deletions
|
|
@ -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")))
|
||||
|
|
|
|||
|
|
@ -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>>)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue