diff options
author | Kyle Meyer <kyle@kyleam.com> | 2017-12-31 11:45:35 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2017-12-31 11:45:45 -0500 |
commit | 04c1aa84ded887078e51058f73df919b99ebf8c7 (patch) | |
tree | da33430e9bc75d5868ee08b2f2e18f0cef84bbf4 | |
parent | 99a9f076d0cf5ae7357f7e21a2a5e52cf6e98456 (diff) | |
download | emacs.d-04c1aa84ded887078e51058f73df919b99ebf8c7.tar.gz |
Create eval-map
-rw-r--r-- | init.el | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |