From 9bfb5ecdf25ba3ea6f9df0a11448ff40061a8b0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= Date: Wed, 22 Nov 2017 00:33:08 +0100 Subject: [PATCH] bind C-c C-z to switch to *scratch* in emacs lisp buffers --- init.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.el b/init.el index e5c52bd..9f18195 100644 --- a/init.el +++ b/init.el @@ -422,6 +422,8 @@ Argument FRAMES has the same meaning as for `set-frame-font'" (set (make-local-variable 'lisp-indent-function) #'lisp-indent-function) (paredit-mode 1) (local-set-key (kbd "C-c S") (global-key-binding (kbd "M-s"))) + (local-set-key (kbd "C-c C-z") + (lambda () (interactive) (switch-to-buffer "*scratch*"))) (show-paren-mode 1) (paren-face-mode))