From ae147083eb675ddc6589c18fc43dbeb857166ede Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 14 Sep 2024 15:40:09 +0200 Subject: emacs: Configure yasnippet temporarily --- .config/emacs/init.el | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.config/emacs') 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) -- cgit v1.2.3