summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-06-19 00:57:58 -0400
committerKyle Meyer <kyle@kyleam.com>2014-06-19 00:57:58 -0400
commitc9bae126774c744837b87c4526d469429da5d284 (patch)
treee5cfb787553d4d3b1921549ac905d71ab1457473 /lisp
parentaeb55ec7df3220ecc0ee4db2ff104dc3764f748d (diff)
downloademacs.d-c9bae126774c744837b87c4526d469429da5d284.tar.gz
Add shell scratch buffer
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-buffile.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/init-buffile.el b/lisp/init-buffile.el
index 135103b..15e3d54 100644
--- a/lisp/init-buffile.el
+++ b/lisp/init-buffile.el
@@ -92,6 +92,7 @@ user."
(km/make-find-scratch-func "elisp" ".el")
(km/make-find-scratch-func "python" ".py")
+(km/make-find-scratch-func "shell" ".sh")
(km/make-find-scratch-func "r" ".r")
(km/make-find-scratch-func "haskell" ".hs")
(km/make-find-scratch-func "org" ".org")
@@ -99,6 +100,7 @@ user."
(define-key scratch-map "e" 'km/find-scratch-elisp)
(define-key scratch-map "p" 'km/find-scratch-python)
+(define-key scratch-map "s" 'km/find-scratch-shell)
(define-key scratch-map "r" 'km/find-scratch-r)
(define-key scratch-map "h" 'km/find-scratch-haskell)
(define-key scratch-map "o" 'km/find-scratch-org)