Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion snippets/org-mode/author
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# name: author
# key: <au
# --
#+AUTHOR: $0
#+author: $0
4 changes: 2 additions & 2 deletions snippets/org-mode/center
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# name: center
# key: <c
# --
#+BEGIN_CENTER
#+begin_center
$0
#+END_CENTER
#+end_center
2 changes: 1 addition & 1 deletion snippets/org-mode/date
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# name: date
# key: <da
# --
#+DATE: ${1:Year}:${2:month}:${3:day}
#+date: ${1:year}:${2:month}:${3:day}
2 changes: 1 addition & 1 deletion snippets/org-mode/description
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# name: description
# key: desc
# --
#+DESCRIPTION: $0
#+description: $0
2 changes: 1 addition & 1 deletion snippets/org-mode/dot
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# name: dot
# key: dot_
# --
#+begin_src dot :file ${1:file} :cmdline -T${2:pdf} :exports none :results silent
#+begin_src dot :file ${1:file} :cmdline -t${2:pdf} :exports none :results silent
$0
#+end_src
[[file:${3:path}]]
4 changes: 2 additions & 2 deletions snippets/org-mode/elisp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# name: elisp
# key: elisp_
# --
#+BEGIN_SRC emacs-lisp :tangle yes
#+begin_src emacs-lisp :tangle yes
$0
#+END_SRC
#+end_src
4 changes: 2 additions & 2 deletions snippets/org-mode/emacs-lisp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# name: emacs-lisp
# key: emacs-lisp_
# --
#+BEGIN_SRC emacs-lisp :tangle yes
#+begin_src emacs-lisp :tangle yes
$0
#+END_SRC
#+end_src
2 changes: 1 addition & 1 deletion snippets/org-mode/email
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# name: email
# key: <em
# --
#+EMAIL: $0
#+email: $0
4 changes: 2 additions & 2 deletions snippets/org-mode/exampleblock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# name: example
# key: <e
# --
#+BEGIN_EXAMPLE
#+begin_example
$0
#+END_EXAMPLE
#+end_example
4 changes: 2 additions & 2 deletions snippets/org-mode/export
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# name: export
# key: <ex
# --
#+BEGIN_EXPORT ${1:type}
#+begin_export ${1:type}
$0
#+END_EXPORT
#+end_export
6 changes: 3 additions & 3 deletions snippets/org-mode/figure
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# name: figure
# key: fig_
# --
#+CAPTION: ${1:caption}
#+ATTR_LaTeX: ${2:scale=0.75}
#+LABEL: fig:${3:label}$0
#+caption: ${1:caption}
#+attr_latex: ${2:scale=0.75}
#+label: fig:${3:label}$0
6 changes: 3 additions & 3 deletions snippets/org-mode/html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- mode: snippet -*-
# name: HTML
# key: <HT
# name: html
# key: <ht
# --
#+HTML:$1
#+html:$1
2 changes: 1 addition & 1 deletion snippets/org-mode/include
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# name: include
# key: <i
# --
#+INCLUDE: $0
#+include: $0
4 changes: 2 additions & 2 deletions snippets/org-mode/ipython
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# name: ipython
# key: ipy_
# --
#+BEGIN_SRC ipython :session ${1:session01} :file ${2:$$(concat (make-temp-name "./ipython-") ".png")} :exports ${3:both}
#+begin_src ipython :session ${1:session01} :file ${2:$$(concat (make-temp-name "./ipython-") ".png")} :exports ${3:both}
$0
#+END_SRC
#+end_src
2 changes: 1 addition & 1 deletion snippets/org-mode/keywords
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# name: keywords
# key: <ke
# --
#+KEYWORDS: $0
#+keywords: $0
2 changes: 1 addition & 1 deletion snippets/org-mode/language
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# name: language
# key: <lan
# --
#+LANGUAGE: ${1:en}
#+language: ${1:en}
2 changes: 1 addition & 1 deletion snippets/org-mode/link
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# name: link
# key: <li
# --
[[${1:external_link}][${2:Description}]
[[${1:external_link}][${2:description}]
2 changes: 1 addition & 1 deletion snippets/org-mode/options
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# name: options
# key: <op
# --
#+OPTIONS: H:${1:1} num:${2:t||nil} toc:${3:t||nil}$0
#+options: h:${1:1} num:${2:t||nil} toc:${3:t||nil}$0
4 changes: 2 additions & 2 deletions snippets/org-mode/python
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# name: python
# key: py_
# --
#+BEGIN_SRC python
#+begin_src python
$0
#+END_SRC
#+end_src
4 changes: 2 additions & 2 deletions snippets/org-mode/quote
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# name: quote
# key: <q
# --
#+BEGIN_QUOTE
#+begin_quote
$0
#+END_QUOTE
#+end_quote
4 changes: 2 additions & 2 deletions snippets/org-mode/rv_background
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
# key: <rsb
# --

:PROPERTIES:
:properties:
:reveal_background: ${1: #123456}
:END:
:end:
4 changes: 2 additions & 2 deletions snippets/org-mode/rv_image_background
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# key: <rib
# --

:PROPERTIES:
:properties:
:reveal_background: ${1: path of the image}
:reveal_background_trans: ${2: default||cube||page||concave||zoom||linear||fade||none||slide}
:END:
:end:
2 changes: 1 addition & 1 deletion snippets/org-mode/setup
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# name: setup
# key: set
# --
#+SETUPFILE: $0
#+setupfile: $0
2 changes: 1 addition & 1 deletion snippets/org-mode/style
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# name: style
# key: <st
# --
#+STYLE: <link rel="stylesheet" type="text/css" href="$1" />
#+style: <link rel="stylesheet" type="text/css" href="$1" />
2 changes: 1 addition & 1 deletion snippets/org-mode/table
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# name: table
# key: <ta
# --
#+CAPTION: ${1: caption of the table}
#+caption: ${1: caption of the table}
|${2:column 1} | ${3: column 2} |
|--------------+----------------|
4 changes: 2 additions & 2 deletions snippets/org-mode/title
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- mode: snippet -*-
# name: Title
# name: title
# key: <ti
# --
#+TITLE: $0
#+title: $0
6 changes: 3 additions & 3 deletions snippets/org-mode/uml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- mode: snippet -*-
# name: uml
# key: uml
# contributor : Robert O'Connor
# contributor : robert o'connor
# --
#+BEGIN_UML
#+begin_uml
$1
#+END_UML
#+end_uml
4 changes: 2 additions & 2 deletions snippets/org-mode/verse
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# name: verse
# key: <v
# --
#+BEGIN_VERSE
#+begin_verse
$0
#+END_VERSE
#+end_verse
2 changes: 1 addition & 1 deletion snippets/org-mode/video
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# name: video
# key: <vi
# --
##videos must be used with an image..so when image is clicked video starts

[[${1:link of the video}][file:${2:link of the image}]
9 changes: 9 additions & 0 deletions snippets/perl-mode/use
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# name: use
# key: use_
# contributor: Spenser Truex
# --
#!/usr/bin/perl
use warnings;
use strict;
$0