From e8267b4b165f6a6a086f4a9786e9df8ffe31d55c Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Sat, 24 Jun 2023 13:41:13 +1000 Subject: Enhancements for org and elisp - org: adding an :after advice to org-insert-structure-template so that it goes into editing immediately - elisp: C-M-x evals a region when region is active --- emacs/.emacs.d/init/ycp-complete.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'emacs/.emacs.d/init/ycp-complete.el') diff --git a/emacs/.emacs.d/init/ycp-complete.el b/emacs/.emacs.d/init/ycp-complete.el index a27e980..e59bbfd 100644 --- a/emacs/.emacs.d/init/ycp-complete.el +++ b/emacs/.emacs.d/init/ycp-complete.el @@ -144,8 +144,8 @@ (define-key corfu-map [remap beginning-of-buffer] nil) (define-key corfu-map [remap end-of-buffer] nil) (my-keybind corfu-map - "C-j" 'corfu-insert - "" 'nil + "C-j" #'corfu-insert + "" nil "C-s" #'corfu-next "C-r" #'corfu-previous) (require 'my-corfu) -- cgit v1.2.3