diff options
author | Alan Pearce | 2024-05-06 13:08:23 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-06 13:08:59 +0200 |
commit | 28cdee574f731b4adb769c423af55faca2941b2e (patch) | |
tree | 25564aa778562e5ddf8885f827cf616a50c1034e | |
parent | 77635d7322042c4410567719a8a5636631cf7988 (diff) | |
download | nixfiles-28cdee574f731b4adb769c423af55faca2941b2e.tar.lz nixfiles-28cdee574f731b4adb769c423af55faca2941b2e.tar.zst nixfiles-28cdee574f731b4adb769c423af55faca2941b2e.zip |
emacs: make using tempel easier (using tab to go to next argument)
-rw-r--r-- | user/emacs/init.el | 6 |
1 files 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 + "<tab>" #'tempel-next) :config (progn (global-tempel-abbrev-mode +1))) |