diff --git a/config.el b/config.el index 1303d89..d7c4727 100644 --- a/config.el +++ b/config.el @@ -1230,6 +1230,17 @@ Otherwise: runs interactive ement-connect, then opens rooms after sync." ("\\.pdf\\'" . emacs)))) ; find-file → pdf-view-mode via auto-mode-alist +;;; ============================================================ +;;; YASNIPPET — snippets from ~/org/snippets +;;; ============================================================ + +;; Load snippets from the emacs-org repo so they are version-controlled. +;; Directory structure: ~/org/snippets// +;; e.g. ~/org/snippets/org-mode/adr, ~/org/snippets/markdown-mode/adr +(after! yasnippet + (add-to-list 'yas-snippet-dirs (expand-file-name "snippets/" org-directory) t) + (yas-reload-all)) + ;;; ============================================================ ;;; NAVIGATION — link-hint, avy ;;; ============================================================