Add yasnippet
This commit is contained in:
12
README.org
12
README.org
@@ -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
18
snippets/org-mode/worklog
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user