summaryrefslogtreecommitdiff
path: root/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el11
1 files changed, 3 insertions, 8 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 7b9ab02..4feecf8 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -230,15 +230,10 @@ given keymap or in the global keymap."
:demand t
:custom
(tempel-path "~/.emacs.d/templates/*.eld")
- ;; (tempel-trigger-prefix "<")
-
:bind (("M-+" . tempel-complete))
-
- ;; Optionally make the Tempel templates available to Abbrev,
- ;; either locally or globally. `expand-abbrev' is bound to C-x '.
- ;; (add-hook 'prog-mode-hook #'tempel-abbrev-mode)
- ;; (global-tempel-abbrev-mode)
- )
+ :config
+ (keymap-set tempel-map "<remap> <forward-word>" #'tempel-next)
+ (keymap-set tempel-map "<remap> <backward-word>" #'tempel-previous))
(use-package dabbrev ; dynamic abbreviations
:demand t