summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-08-26 23:48:44 -0400
committerAmin Bandali <bandali@gnu.org>2019-08-27 01:38:25 -0400
commita33abe1445864ed5b044d0bca938ee9b44430a5d (patch)
treeb6ae5473c24389f29e5029d9dff652c57198b69a
parent2e81c51ad88d5ea21b5f85fdf1ab6cf585e830ef (diff)
downloadconfigs-a33abe1445864ed5b044d0bca938ee9b44430a5d.tar.gz
configs-a33abe1445864ed5b044d0bca938ee9b44430a5d.tar.xz
configs-a33abe1445864ed5b044d0bca938ee9b44430a5d.zip
emacs: yasnippet: bind SPC to yas-maybe-expand in yas-minor-mode-map
Diffstat (limited to '')
-rw-r--r--.emacs.d/init.el1
1 files changed, 1 insertions, 0 deletions
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)