aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init/ycp-prog.el
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-10-03 22:36:07 +1100
committerYuchen Pei <id@ypei.org>2023-10-03 22:36:07 +1100
commita696cbe0f1d96e2ac6a3454d716326f20312a4a8 (patch)
tree00829eee3664dc5ccb78fac0eb8c31f7bd6422e3 /emacs/.emacs.d/init/ycp-prog.el
parentdb6947bd8bc2ce9f390341b4849f547b774ed407 (diff)
[emacs] some minor changes
Diffstat (limited to 'emacs/.emacs.d/init/ycp-prog.el')
-rw-r--r--emacs/.emacs.d/init/ycp-prog.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init/ycp-prog.el b/emacs/.emacs.d/init/ycp-prog.el
index 78bdd88..6696aaf 100644
--- a/emacs/.emacs.d/init/ycp-prog.el
+++ b/emacs/.emacs.d/init/ycp-prog.el
@@ -271,6 +271,10 @@
"C-<left>" nil
"C-<right>" nil
"M-?" nil
+ ;; we want to reserve M-r to `previous-matching-history-element'
+ ;; when in minibuffer and ielm
+ "M-r" nil
+ "M-i" #'paredit-raise-sexp
"C-j" nil ;not ideal, we just want to unshadow it in lisp-interaction-mode
"<RET>" #'paredit-newline
"M-s" nil