mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-18 11:06:17 +00:00
[emacs] Add yasnippet
This commit is contained in:
parent
5b4e13de63
commit
313aecb0e9
1 changed files with 17 additions and 7 deletions
|
@ -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>>
|
||||
|
|
Loading…
Reference in a new issue