bind C-c C-z to switch to *scratch* in emacs lisp buffers
This commit is contained in:
2
init.el
2
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)
|
(set (make-local-variable 'lisp-indent-function) #'lisp-indent-function)
|
||||||
(paredit-mode 1)
|
(paredit-mode 1)
|
||||||
(local-set-key (kbd "C-c S") (global-key-binding (kbd "M-s")))
|
(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)
|
(show-paren-mode 1)
|
||||||
(paren-face-mode))
|
(paren-face-mode))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user