From a33abe1445864ed5b044d0bca938ee9b44430a5d Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 26 Aug 2019 23:48:44 -0400 Subject: [PATCH] emacs: yasnippet: bind SPC to yas-maybe-expand in yas-minor-mode-map --- .emacs.d/init.el | 1 + 1 file changed, 1 insertion(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 08af872..cc01a13 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1512,6 +1512,7 @@ This function is intended for use with `ivy-ignore-buffers'." (add-to-list 'yas-snippet-dirs "~/src/git/guix/etc/snippets" t) (yas-reload-all) (setq yas-verbosity yas-verbosity-cur) + (define-key yas-minor-mode-map (kbd "SPC") yas-maybe-expand) (yas-global-mode)) (use-package debbugs) -- 2.20.1