summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-14 15:40:09 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-14 15:40:09 +0200
commitae147083eb675ddc6589c18fc43dbeb857166ede (patch)
tree128f5b7c824f884ff3107b604f855acd8b1bd082 /.config/emacs
parent28f772b6ad058d81eb0643b66f8e361995c1de17 (diff)
emacs: Configure yasnippet temporarily
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 5955db0..3ac191b 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -841,6 +841,12 @@ the comparison of the ‘company-pseudo-tooltip-overlay’ height and 0 using PR
("C-l" tempel-next)
("C-h" tempel-previous)))
+(with-eval-after-load 'yasnippet
+ (x-define-bindings
+ :map yas-minor-mode-map
+ ("C-l" (λi (when (yas-current-field) (yas-next-field))))
+ ("C-h" (λi (when (yas-current-field) (yas-prev-field))))))
+
(defun x-tetris-rotate-mirror ()
(interactive)
(tetris-rotate-next)