summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-12-31 11:45:35 -0500
committerKyle Meyer <kyle@kyleam.com>2017-12-31 11:45:45 -0500
commit04c1aa84ded887078e51058f73df919b99ebf8c7 (patch)
treeda33430e9bc75d5868ee08b2f2e18f0cef84bbf4
parent99a9f076d0cf5ae7357f7e21a2a5e52cf6e98456 (diff)
downloademacs.d-04c1aa84ded887078e51058f73df919b99ebf8c7.tar.gz
Create eval-map
-rw-r--r--init.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/init.el b/init.el
index 8e7037e..afa3c59 100644
--- a/init.el
+++ b/init.el
@@ -68,6 +68,7 @@
("C-c k" km/kill-map)
("C-x m" km/mail-map)
("C-c o" km/global-org-map)
+ ("C-c x" km/eval-map)
("C-c z" km/external-map)))
(define-prefix-command map)
(global-set-key (kbd key) map))
@@ -1849,7 +1850,11 @@
(add-hook 'after-save-hook
#'executable-make-buffer-file-executable-if-script-p)
-(global-set-key (kbd "C-c x") #'eval-expression)
+(bind-keys :map km/eval-map
+ ("b" . eval-buffer)
+ ("d" . eval-defun)
+ ("e" . eval-expression)
+ ("r" . eval-region))
(use-package haskell-mode
:defer t