~/emacsConfig/auto-complete-yasnippet-setting.el
(require 'yasnippet) (setq ac-sources (append '(ac-source-yasnippet) ac-sources)) (setq yas/snippet-dirs '("~/emacsConfig/snippets/yas-git/" "~/emacsConfig/snippets/custom/"))
(setq yas/prompt-functions
'(yas/dropdown-prompt yas/x-prompt yas/completing-prompt yas/ido-prompt yas/no-prompt)) (yas/global-mode )
(yas/minor-mode-on)