From 28cdee574f731b4adb769c423af55faca2941b2e Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 6 May 2024 13:08:23 +0200 Subject: emacs: make using tempel easier (using tab to go to next argument) --- user/emacs/init.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/user/emacs/init.el b/user/emacs/init.el index 1a34b514..1171ea7c 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -579,8 +579,10 @@ _C-k_: prev _u_pper _=_: upper/lower _s_mart resolve (add-hook 'kill-emacs-hook #'tabnine-kill-process))) (use-package tempel - :bind (("M-+" . tempel-complete) ;; Alternative tempel-expand - ("M-*" . tempel-insert)) + :general ("M-+" #'tempel-complete ;; Alternative tempel-expand + "M-*" #'tempel-insert + :keymaps 'tempel-mode-map + "" #'tempel-next) :config (progn (global-tempel-abbrev-mode +1))) -- cgit 1.4.1