diff options
author | Tom Willemsen | 2013-04-11 15:37:01 +0200 |
---|---|---|
committer | Tom Willemsen | 2013-04-11 15:37:01 +0200 |
commit | 55ca176cd5022d2fc35bc2c06d5f9a764315f238 (patch) | |
tree | 3ee9e0df6dced4282af9116a8c93d888e30b7213 /emacs/snippets/org-mode | |
parent | caf0ec0fb16b3f911d5d596766ee3048fe07fa66 (diff) | |
parent | 9ab70194a65f1d7ab726aaacdb43a58a02a048b6 (diff) | |
download | dotfiles-55ca176cd5022d2fc35bc2c06d5f9a764315f238.tar.gz dotfiles-55ca176cd5022d2fc35bc2c06d5f9a764315f238.zip |
Merge remote-tracking branch 'ryuslash/drd' into phoenix
Conflicts:
.config/herbstluftwm/autostart
.emacs.d/init.el
.xinitrc
.zprofile
Makefile
xmonad/xmonad.hs
Diffstat (limited to 'emacs/snippets/org-mode')
-rw-r--r-- | emacs/snippets/org-mode/Makefile | 4 | ||||
-rw-r--r-- | emacs/snippets/org-mode/codeblock | 7 | ||||
-rw-r--r-- | emacs/snippets/org-mode/heading | 9 | ||||
-rw-r--r-- | emacs/snippets/org-mode/project | 51 | ||||
-rw-r--r-- | emacs/snippets/org-mode/snippet | 14 |
5 files changed, 85 insertions, 0 deletions
diff --git a/emacs/snippets/org-mode/Makefile b/emacs/snippets/org-mode/Makefile new file mode 100644 index 0000000..34d4cd9 --- /dev/null +++ b/emacs/snippets/org-mode/Makefile @@ -0,0 +1,4 @@ +DESTDIR:=$(DESTDIR)/org-mode +objects=codeblock heading project snippet + +include ../../../dotfiles.mk diff --git a/emacs/snippets/org-mode/codeblock b/emacs/snippets/org-mode/codeblock new file mode 100644 index 0000000..a200b08 --- /dev/null +++ b/emacs/snippets/org-mode/codeblock @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: codeblock +# key: code +# -- +#+begin_src $1 + $0 +#+end_src
\ No newline at end of file diff --git a/emacs/snippets/org-mode/heading b/emacs/snippets/org-mode/heading new file mode 100644 index 0000000..48dca7f --- /dev/null +++ b/emacs/snippets/org-mode/heading @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: Heading +# key: * +# -- +*$1 ${2:TODO} $3 + ${1:$(make-string (length text) ?\ )} :PROPERTIES: + ${1:$(make-string (length text) ?\ )} :CATEGORY: $4 + ${1:$(make-string (length text) ?\ )} :END: + ${1:$(make-string (length text) ?\ )} $0
\ No newline at end of file diff --git a/emacs/snippets/org-mode/project b/emacs/snippets/org-mode/project new file mode 100644 index 0000000..269d655 --- /dev/null +++ b/emacs/snippets/org-mode/project @@ -0,0 +1,51 @@ +# -*- mode: snippet -*- +# name: project +# key: project +# -- +#+TITLE: ${1:project_name} +#+LINK: src ${2:http://code.ryuslash.org/cgit.cgi/$3$1/} +#+LINK: tar_gz $2${4:snapshot/$1-master}.tar.gz +#+LINK: zip $2$4.zip +#+STARTUP: showall + +#+begin_html + <script src="/keyjs.js" type="text/javascript"></script> + <script type="text/javascript"> + keyjs_initialize({ "u": [ "keyjs_goto", "../index.html" ], + "h": [ "keyjs_goto", "http://ryuslash.org" ] }); + </script> +#+end_html + +#+INCLUDE: "dlmenu.inc" + +* About + + ${5:A short description about $1} + + | $0Status | $6 | + | Language | $7 | + | License | ${8:GPLv3} | + +* Why? + + ${9:Why did you even think of writing $1?} + +* Features + + ${10:$1 does...} + +* Dependencies + + ${11:$1 needs to have...} + +* Download + + ${12:To download $1...} + +* Install + + ${13:To install $1...} + +* Usage + + ${14:Using $1...}
\ No newline at end of file diff --git a/emacs/snippets/org-mode/snippet b/emacs/snippets/org-mode/snippet new file mode 100644 index 0000000..67f15d5 --- /dev/null +++ b/emacs/snippets/org-mode/snippet @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: snippet +# key: snippet +# -- +#+TITLE: ${1:snippet-name} +#+OPTIONS: toc:nil + +* $1 + + ${2:A short description abount $1} + + #+BEGIN_SRC $3 :tangle yes +$0 + #+END_SRC
\ No newline at end of file |