forked from colonelpanic/dotfiles
a3cd73bbea10560b3087bbdf04eb170828b30e70
git-subtree-dir: dotfiles/emacs.d/snippets/org-mode git-subtree-split: 63d0bbd9629b3a07a56c61dded5502484ee53d1a
yasnippets
Snippets for org-mode. See Yasnippet in Github.
They have bindings C-c y plus an extra letter.
I have added a condition statement so that the snippets can be
expanded only at the beginning of the line.
| name | key | letter | explanation |
|---|---|---|---|
| #+begin_ …#+end_ | block | b | |
| #+srcname:..#+begin_src…#+end_src | sb | s | source block with name |
| attr_html | ath | alt="$1" img class="aligncenter" | |
| attr_latex | atl | ${1:width=$2\textwidth} | |
| author | aut | a | inserts #+author: |
| corollary | cor | c | (uses reftex) |
| definition | def | d | (uses reftex) |
| ditaa | dit | #+begin_ditaa,+end_ditaa | |
| el | el | #+begin_src emacs-lisp,+end_src | |
inserts #+email: |
|||
| equation | eqn | e | (uses reftex) |
| figure | fig | f | asks for image file |
| language | lan | inserts #+language: (with choice) |
|
| LaTeX class | lcl | inserts #+latex_class: (with choice) |
|
| LaTeX header | lhe | inserts #+latex_header: |
|
| lemma | lem | l | (uses reftex) |
| options | opt | o | inserts #+options: |
| proof | prf | ||
| properties folded | properties | inserts visibility folded property | |
| proposition | pro | p | (uses reftex) |
| startup | sta | inserts #+startup: |
|
| text | text | inserts #+text: |
|
| theorem | thm | t | (uses reftex) |
| tikz-picture | tkz | z | (uses reftex) |
| title | title | inserts #+title: |
Description
Languages
CSS
35.7%
Nix
28.9%
Haskell
20.1%
Shell
10.2%
Emacs Lisp
2%
Other
2.9%