Add experimental yasnippet config
This commit is contained in:
parent
deb6f195f6
commit
06003b3f93
@ -148,3 +148,11 @@
|
|||||||
(global-set-key (kbd "C-x C-S-f") 'fasd-find-file)
|
(global-set-key (kbd "C-x C-S-f") 'fasd-find-file)
|
||||||
(global-fasd-mode 1)
|
(global-fasd-mode 1)
|
||||||
(setq fasd-enable-initial-prompt nil))
|
(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))
|
||||||
|
Loading…
Reference in New Issue
Block a user