Embrace org's new lowercase block/tag default

This commit is contained in:
TEC 2020-10-05 19:01:06 +08:00
parent 2238736cc9
commit 7abb2ebb1c
5 changed files with 591 additions and 580 deletions

1155
config.org

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,8 @@
# -*- mode: snippet -*- # -*- mode: snippet -*-
# name: Org template # name: Org template
# -- # --
#+TITLE: ${1:`(s-titleized-words (file-name-base buffer-file-name))`} #+title: ${1:`(s-titleized-words (file-name-base buffer-file-name))`}
#+AUTHOR: ${2:`(user-full-name)`} #+author: ${2:`(user-full-name)`}
#+DATE: ${3: `(format-time-string "%Y-%m-%d")`} #+date: ${3: `(format-time-string "%Y-%m-%d")`}
$0 $0

View File

@ -5,6 +5,6 @@
# condition: t # condition: t
# expand-env: ((yas-after-exit-snippet-hook #'org-edit-src-code)) # expand-env: ((yas-after-exit-snippet-hook #'org-edit-src-code))
# -- # --
#+BEGIN_SRC emacs-lisp #+begin_src emacs-lisp
`%`$0 `%`$0
#+END_SRC #+end_src

View File

@ -3,4 +3,4 @@
# key: #+p # key: #+p
# condition: (> 20 (line-number-at-pos)) # condition: (> 20 (line-number-at-pos))
# -- # --
#+PROPERTY: $0 #+property: $0

View File

@ -5,6 +5,6 @@
# condition: t # condition: t
# expand-env: ((yas-after-exit-snippet-hook #'org-edit-src-code)) # expand-env: ((yas-after-exit-snippet-hook #'org-edit-src-code))
# -- # --
#+BEGIN_SRC python #+begin_src python
`%`$0 `%`$0
#+END_SRC #+end_src