From 25847278526ce16aa5355db3b053598b9c3a5b1d Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Mon, 5 Apr 2021 10:43:20 -0400 Subject: [PATCH] Add some elisp-mode keybindings --- emacs/.emacs.d/config/init-elisp.el | 5 +++++ emacs/.emacs.d/init.el | 1 + 2 files changed, 6 insertions(+) create mode 100644 emacs/.emacs.d/config/init-elisp.el diff --git a/emacs/.emacs.d/config/init-elisp.el b/emacs/.emacs.d/config/init-elisp.el new file mode 100644 index 0000000..b9d1b6c --- /dev/null +++ b/emacs/.emacs.d/config/init-elisp.el @@ -0,0 +1,5 @@ +(use-package elisp-mode + :straight (:type built-in) + :general + (emacs-lisp-mode-map "C-c C-c" #'eval-defun + "C-c C-k" #'eval-buffer)) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 780d84b..96662c5 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -66,6 +66,7 @@ (require 'init-keybindings) (require 'init-auth) (require 'init-lib) +(require 'init-elisp) (require 'init-org) (require 'init-profiler) (require 'init-built-ins)