From 124a2a6eaa2a8d96405168693f9c8e8afc51b10a Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Thu, 28 Aug 2025 08:49:51 +1000 Subject: [emacs] misc fixes --- emacs/.emacs.d/init/ycp-prog.el | 1 + 1 file changed, 1 insertion(+) (limited to 'emacs/.emacs.d/init/ycp-prog.el') diff --git a/emacs/.emacs.d/init/ycp-prog.el b/emacs/.emacs.d/init/ycp-prog.el index 6584491..f74e339 100644 --- a/emacs/.emacs.d/init/ycp-prog.el +++ b/emacs/.emacs.d/init/ycp-prog.el @@ -210,6 +210,7 @@ (my-package my-prog (:delay 10) (my-keybind global-map "C-c 8" #'my-set-tab-width-to-8) + (my-keybind prog-mode-map "C-c M-w" 'my-copy-with-func) (add-hook 'c-mode-hook 'my-c-set-compile-command) (define-key c-mode-map (kbd "C-c s") 'my-c-switch-between-header-and-source) (define-key c++-mode-map (kbd "C-c s") -- cgit v1.2.3