Skip to content

Commit

Permalink
tweak(tempel): enable user-defined snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jul 12, 2023
1 parent 72f5f90 commit 59d8b1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/me-editor.el
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
:straight t
:custom
(tempel-trigger-prefix "<") ;; Require trigger prefix before template name when completing.
(tempel-path (concat minemacs-root-dir "templates/tempel/*.eld"))
(tempel-path
(list (concat minemacs-root-dir "templates/tempel/*.eld")
(concat minemacs-config-dir "templates/tempel/*.eld")))
:bind (("M-\"" . tempel-complete) ;; Alternative tempel-expand
("M-*" . tempel-insert)
:map tempel-map
Expand Down

0 comments on commit 59d8b1f

Please sign in to comment.