emacs: yasnippet: bind SPC to yas-maybe-expand in yas-minor-mode-map
[~bandali/configs] / .emacs.d / init.el
index 08af872..cc01a13 100644 (file)
@@ -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)