Skip to content

Commit

Permalink
tweak(tempel): bind TAB and S-TAB to next/previous
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed May 12, 2023
1 parent 33e3ffe commit dff6996
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/me-editor.el
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
(tempel-trigger-prefix "<") ;; Require trigger prefix before template name when completing.
(tempel-path (concat minemacs-root-dir "templates/tempel/*.eld"))
:bind (("M-\"" . tempel-complete) ;; Alternative tempel-expand
("M-*" . tempel-insert))
("M-*" . tempel-insert)
:map tempel-map
("TAB" . tempel-next)
("<backtab>" . tempel-previous))
:hook ((prog-mode text-mode) . +tempel-setup-capf-h)
:hook (prog-mode . tempel-abbrev-mode)
:defines +tempel-setup-capf-h
Expand Down

0 comments on commit dff6996

Please sign in to comment.