Last active
August 29, 2015 14:17
-
-
Save analyticd/39f686a571116831248d to your computer and use it in GitHub Desktop.
yasnippet snippet for org-mode babel source blocks (one to rule them all)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -- | |
#+begin_src ${1:$$(yas-choose-value '("emacs-lisp" "sh" "shell" "mathematica" "lisp" "R" "python" "ocaml" "matlab" "dot" "C" "C++"))} ${2::includes '(${3:<iostream>})} ${4::var ${5:foobnar}=${6:batz}} ${7::file ${8:(org-babel-temp-file "./figure-" ".png")}} :results ${9:$$(yas-choose-value '("silent" "replace" "append" "prepend" "output" "output table" "output scalar" "output file" "output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment