From 2bee980a9d224171092227c97039137428cb881f Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Tue, 19 Jul 2022 09:16:17 +0300 Subject: [PATCH] Add C-c C-e as an alias for C-x C-e That's the practice in most similar Emacs modes. --- src/top/utop.el | 1 + 1 file changed, 1 insertion(+) diff --git a/src/top/utop.el b/src/top/utop.el index 1207c89..e0179ea 100644 --- a/src/top/utop.el +++ b/src/top/utop.el @@ -1124,6 +1124,7 @@ See https://github.com/ocaml-community/utop for configuration information.")) :keymap (let ((map (make-sparse-keymap))) (define-key map (kbd "C-c C-s") #'utop) (define-key map (kbd "C-x C-e") #'utop-eval-phrase) + (define-key map (kbd "C-c C-e") #'utop-eval-phrase) (define-key map (kbd "C-x C-r") #'utop-eval-region) (define-key map (kbd "C-c C-b") #'utop-eval-buffer) (define-key map (kbd "C-c C-k") #'utop-kill)