Add yasnippet

This commit is contained in:
2021-01-07 08:58:29 +01:00
parent b5ff6abb30
commit e2d3d70062
2 changed files with 30 additions and 0 deletions

View File

@@ -783,6 +783,18 @@ Ag.el allows you to search using ~ag~ from inside Emacs. You can filter by file
#+BEGIN_SRC emacs-lisp
(use-package ag)
#+END_SRC
** Yasnippet
[[https://github.com/joaotavora/yasnippet][Github]]
#+begin_src emacs-lisp
(use-package yasnippet
:config
(progn
(setq yas-snippet-dirs '("~/.emacs.d/snippets"))
(yas-global-mode 1)))
#+end_src
* Programming
** Elisp
Some customization for writing elisp

18
snippets/org-mode/worklog Normal file
View File

@@ -0,0 +1,18 @@
;; yas-snippet
# -*- mode: snippet -*-
# name: worklog
# key: worklog
# --
* `(format-time-string "%Y-%m-%d %a")`$0
** Tasks / Projekte
Keine
** Meetings
Keine
** Fehler
Keine
** Notizen
Keine