Skip to content

A Unified-Merged YASnippet bundle for Emacs org-mode

Notifications You must be signed in to change notification settings

drskalman/yasnippets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 

Repository files navigation

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.

[2012-08-20 Mon] : Mike McLean.

There are a number of different versions of the Org mode yasnippets on github. This is my attempt to merge them so that I can have one single Org mode snippet repository.

namekeyletterexplanation
#+begin_ …#+end_blockbInsert Org special block[fn:1]
#+srcname:..#+begin_src…#+end_srcsbssource block with name
attr_htmlathalt=”$1” img class=”aligncenter”
attr_latexatl${1:width=$2\textwidth}
authorautainserts #+author:
corollarycorc(uses reftex)
definitiondefd(uses reftex)
descdescinserts #+description:
ditaadit#+begin_ditaa,+end_ditaa
docbookdocbookinserts docbook block
elel#+begin_src emacs-lisp,+end_src
emailemailinserts #+email:
equationeqne(uses reftex)
exampleexample#+begin_example … #+end_example
figurefigfasks for image file
fpropfpropFile property #+property:
htmlhtmlinserts html block
incincinserts #+include:
keywordskeywordsinserts #+keywords:
knitrksinserts Knitr Source Code Block
knitr_figkfinserts Knitr Figure Source Code Block
knitr_tablektinserts Knitr Table Source Code Block
languagelaninserts #+language: (with choice)
latexlatexinserts LaTeX block
LaTeX classlclinserts #+latex_class: (with choice)
LaTeX headerlheinserts #+latex_header:
lemmaleml(uses reftex)
optionsoptoinserts #+options:
proofprf#+begin_proof … #+end_proof
properties foldedpropertiesinserts visibility folded property
propositionprop(uses reftex)
resresinserts #+RESNAME:
seqseqinserts #+SEQ_TODO:
srcbatsrcbat#+begin_src ntcmd … #+end_src
srccsrcc#+begin_src c … #+end_src
srccppsrccpp#+begin_src c++ … #+end_src
srccssrccs#+begin_src csharp … #+end_src
srccsssrccss#+begin_src css … #+end_src
srcelsrcel#+begin_src emacs-lisp … #+end_src
srcesnsrcesn#+begin_src esn … #+end_src
srchtmlsrchtml#+begin_src html … #+end_src
srcinisrcini#+begin_src conf … #+end_src
srclatexsrclatex#+begin_src latex … #+end_src
srcnsisrcnsi#+begin_src nsis … #+end_src
srcplsrcpl#+begin_src perl … #+end_src
srcpysrcpy#+begin_src py … #+end_src
srcrsrcr#+begin_src R … #+end_src
srcrbsrcrb#+begin_src ruby … #+end_src
srcshsrcsh#+begin_src sh … #+end_src
srcvbssrcvbs#+begin_src visual-basic … #+end_src
startupstainserts #+startup:
tagstaginserts #+tags:
texttextinserts #+text:
theoremthmt(uses reftex)
tikz-figuretikz-figurez(uses reftex)
titletitleinserts #+title:

Footnotes

[fn:1] See http://orgmode.org/worg/org-contrib/org-special-blocks.html. This is a merge of the spb snippet from punchagan and the block snippet in the original

About

A Unified-Merged YASnippet bundle for Emacs org-mode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published