Commit 1f5b7087877b
Changed files (3)
.config/mr/groups.d/emacs-config
@@ -0,0 +1,2 @@
+[$HOME/.emacs.d/snippets/andreaCrotti-snippets]
+checkout = git clone https://github.com/AndreaCrotti/yasnippet-snippets.git
.emacs.d/emacs.org
@@ -2514,6 +2514,22 @@
'(define-key yaml-mode-map (kbd "C-c h a") 'lunaryorn-ansible-doc))
#+END_SRC
+** Yasnippet
+
+ Use YASnippet for snippets.
+
+
+ #+BEGIN_SRC emacs-lisp
+ (use-package yasnippet
+ :ensure t
+ :config
+ (progn
+ (setq yas-verbosity 1
+ yas-snippet-dir (expand-file-name "snippets" user-emacs-directory))
+ (yas-global-mode 1)))
+ #+END_SRC
+
+
** Clean the modeline
With all the modes (major & minor), the modeline becomes really
.gitignore.d/emacs-config
@@ -2,6 +2,7 @@
!.emacs.d
!.emacs.d/*
!.emacs.d/**
+.emacs.d/snippets
.emacs.d/gotools
.emacs.d/provided/*
!.emacs.d/provided/.placeholder