bind C-c C-z to switch to *scratch* in emacs lisp buffers

This commit is contained in:
Łukasz Pankowski 2017-11-22 00:33:08 +01:00
parent ba8e914208
commit 9bfb5ecdf2

View File

@ -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))