[emacs] Add yasnippet

This commit is contained in:
Correl Roush 2015-04-24 10:23:04 -04:00
parent 5b4e13de63
commit 313aecb0e9

View file

@ -23,12 +23,14 @@
** Autocomplete
#+name: autocomplete
#+BEGIN_SRC emacs-lisp
(use-package auto-complete
:ensure t
:config
(progn (global-auto-complete-mode t)
(require 'auto-complete-config)
(ac-config-default)))
(use-package auto-complete
:ensure t
:config
(progn (global-auto-complete-mode t)
(require 'auto-complete-config)
(ac-config-default)
(ac-set-trigger-key "TAB")
(ac-set-trigger-key "<tab>")))
#+END_SRC
** Helm
#+name: packages
@ -383,6 +385,14 @@ breaks.
unfill-region)
:bind ("M-Q" . unfill-paragraph))
#+END_SRC
** Yasnippet
#+name: packages
#+BEGIN_SRC emacs-lisp
(use-package yasnippet
:ensure t
:diminish yas-minor-mode
:config (yas-global-mode 1))
#+END_SRC
* LaTeX
** AUCTeX
#+name: packages
@ -746,9 +756,9 @@ this org file.
<<startup>>
<<look-and-feel>>
<<autocomplete>>
<<packages>>
<<programming>>
<<autocomplete>>
<<other>>
<<auto-load>>
<<custom-settings>>