From: Amin Bandali Date: Tue, 27 Aug 2019 03:48:44 +0000 (-0400) Subject: emacs: yasnippet: bind SPC to yas-maybe-expand in yas-minor-mode-map X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/a33abe1445864ed5b044d0bca938ee9b44430a5d emacs: yasnippet: bind SPC to yas-maybe-expand in yas-minor-mode-map --- 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)