diff --git a/oni-yasnippet.el b/oni-yasnippet.el index b6b8755..253e407 100644 --- a/oni-yasnippet.el +++ b/oni-yasnippet.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2020.0408.105714 +;; Version: 2021.0630.150352 ;; Package-Requires: (yasnippet yasnippet-snippets diminish) ;; This program is free software; you can redistribute it and/or modify @@ -31,9 +31,10 @@ (with-eval-after-load 'yasnippet (diminish 'yas-minor-mode)) -(define-key yas-minor-mode-map (kbd "C-\\") 'yas-expand) -(define-key yas-minor-mode-map (kbd "TAB") nil) (define-key yas-minor-mode-map (kbd "") nil) +(define-key yas-minor-mode-map (kbd "C-\\") 'yas-expand) +(define-key yas-minor-mode-map (kbd "SPC") yas-maybe-expand) +(define-key yas-minor-mode-map (kbd "TAB") nil) ;;;###autoload(with-eval-after-load 'yasnippet (require 'oni-yasnippet)) ;;;###autoload