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
|
@ -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>>
|
||||||
|
|
Loading…
Reference in a new issue