company-yasnippet built into keybindings

This commit is contained in:
Ivan Malison 2015-11-02 21:16:36 -08:00
parent 3cf95a3718
commit 5d8ad12738

View File

@ -748,10 +748,12 @@ The current directory is assumed to be the project's root otherwise."
:init (add-hook 'magit-status-mode-hook 'magit-filenotify-mode)))) :init (add-hook 'magit-status-mode-hook 'magit-filenotify-mode))))
(use-package company (use-package company
:commands company-mode :commands company-mode imalison:company
:bind (("C-\\" . company-complete)) :bind (("C-\\" . imalison:company))
:config :config
(progn (progn
(imalison:prefix-alternatives
imalison:company company-complete company-yasnippet)
(setq company-idle-delay .25) (setq company-idle-delay .25)
(global-company-mode) (global-company-mode)
(diminish 'company-mode)) (diminish 'company-mode))