Add experimental yasnippet config

This commit is contained in:
Adam Goldsmith 2015-09-17 12:52:19 -04:00
parent deb6f195f6
commit 06003b3f93

View File

@ -148,3 +148,11 @@
(global-set-key (kbd "C-x C-S-f") 'fasd-find-file)
(global-fasd-mode 1)
(setq fasd-enable-initial-prompt nil))
(use-package yasnippet
:config
(defun company-to-yasnippet ()
(interactive)
(company-abort)
(call-interactively 'company-yasnippet))
(bind-key "<backtab>" 'company-to-yasnippet company-active-map)
(bind-key "<backtab>" 'company-yasnippet))