]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
yasnippets: adding snippets srcclient and srcsession for org-mode
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Mon, 23 Feb 2015 19:17:55 +0000 (20:17 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Mon, 23 Feb 2015 19:17:55 +0000 (20:17 +0100)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
snippets/org-mode/srcclient [new file with mode: 0644]
snippets/org-mode/srcsession [new file with mode: 0644]

diff --git a/snippets/org-mode/srcclient b/snippets/org-mode/srcclient
new file mode 100644 (file)
index 0000000..f2489a8
--- /dev/null
@@ -0,0 +1,7 @@
+# -*- mode: snippets -*-
+# name: srcclient
+# key: <sclient
+# --
+#+BEGIN_SRC :session client :results verbatim drawer
+$0
+#+END_SRC
\ No newline at end of file
diff --git a/snippets/org-mode/srcsession b/snippets/org-mode/srcsession
new file mode 100644 (file)
index 0000000..82dea44
--- /dev/null
@@ -0,0 +1,10 @@
+# -*- mode: snippets -*-
+# name: srcsession
+# expand-env: ((yas-indent-line 'fixed))
+# key: <ssession
+# --
+* Create a session for Emacs:
+
+#+BEGIN_SRC sh :session client
+ssh $0
+#+END_SRC