commit c0c42684deda426091ff2d4f0f7ea1fbdb1e95ff parent 383c288790aba5f7954c5c0ba248faa878713f5f Author: Alex Balgavy <alex@balgavy.eu> Date: Sun, 2 Jan 2022 15:11:51 +0100 emacs: some org mode settings Diffstat:
M | emacs/config.org | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org @@ -712,6 +712,13 @@ Let a period followed by a single space be treated as end of sentence: #+end_src * Org mode +** Tempo expansions + +#+begin_src emacs-lisp + (add-to-list 'org-structure-template-alist '("se" . "src emacs-lisp")) + (add-to-list 'org-structure-template-alist '("sb" . "src bibtex")) +#+end_src + ** Yank URL #+begin_src emacs-lisp (defun org-yank-link-url () @@ -744,6 +751,11 @@ macOS doesn't have dbus. So I use terminal-notifier for functions like org-notif "-group" "org.gnu.Emacs" "-sender" "org.gnu.Emacs")))) #+end_src +* Bib(la)tex +#+begin_src emacs-lisp + (add-hook 'bibtex-mode-hook (lambda () (bibtex-set-dialect "biblatex"))) +#+end_src + * Python In Python, I want to enable flycheck and semantic mode: