forked from colonelpanic/dotfiles
Ivan Malison
a3cd73bbea
git-subtree-dir: dotfiles/emacs.d/snippets/org-mode git-subtree-split: 63d0bbd9629b3a07a56c61dded5502484ee53d1a |
||
---|---|---|
.yas-ignore-filenames-as-triggers | ||
.yas-make-groups | ||
.yas-parents | ||
attr_html.yasnippet | ||
attr_latex.yasnippet | ||
author.yasnippet | ||
block.yasnippet | ||
corollary.yasnippet | ||
definition.yasnippet | ||
ditaa.yasnippet | ||
el.yasnippet | ||
email.yasnippet | ||
equation.yasnippet | ||
figure.yasnippet | ||
install.sh | ||
language.yasnippet | ||
latexclass.yasnippet | ||
latexheader.yasnippet | ||
lemma.yasnippet | ||
options.yasnippet | ||
proof.yasnippet | ||
propertiesfolded.yasnippet | ||
proposition.yasnippet | ||
README.org | ||
sourceblock.yasnippet | ||
startup.yasnippet | ||
text.yasnippet | ||
theorem.yasnippet | ||
tikz-figure.yasnippet | ||
title.yasnippet |
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: |