]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
new snippet eshell buffer-redirect
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Mon, 25 Jan 2016 19:35:49 +0000 (20:35 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Mon, 25 Jan 2016 19:35:49 +0000 (20:35 +0100)
- redirect output in eshell to an emacs buffer.

snippets/eshell-mode/buffer-redirect [new file with mode: 0644]

diff --git a/snippets/eshell-mode/buffer-redirect b/snippets/eshell-mode/buffer-redirect
new file mode 100644 (file)
index 0000000..c161efc
--- /dev/null
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+# name: buffer-redirect
+# key: buffer-redirect
+# To redirect output to an Emacs buffer
+# --
+> #<buffer ${1:*test*}>$0
\ No newline at end of file