[emacs] Add yasnippet

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

View file

@ -28,7 +28,9 @@
:config :config
(progn (global-auto-complete-mode t) (progn (global-auto-complete-mode t)
(require 'auto-complete-config) (require 'auto-complete-config)
(ac-config-default))) (ac-config-default)
(ac-set-trigger-key "TAB")
(ac-set-trigger-key "<tab>")))
#+END_SRC #+END_SRC
** Helm ** Helm
#+name: packages #+name: packages
@ -383,6 +385,14 @@ breaks.
unfill-region) unfill-region)
:bind ("M-Q" . unfill-paragraph)) :bind ("M-Q" . unfill-paragraph))
#+END_SRC #+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 * LaTeX
** AUCTeX ** AUCTeX
#+name: packages #+name: packages
@ -746,9 +756,9 @@ this org file.
<<startup>> <<startup>>
<<look-and-feel>> <<look-and-feel>>
<<autocomplete>>
<<packages>> <<packages>>
<<programming>> <<programming>>
<<autocomplete>>
<<other>> <<other>>
<<auto-load>> <<auto-load>>
<<custom-settings>> <<custom-settings>>