aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init/ycp-prog.el
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2025-08-28 08:49:51 +1000
committerYuchen Pei <id@ypei.org>2025-08-28 08:49:51 +1000
commit124a2a6eaa2a8d96405168693f9c8e8afc51b10a (patch)
tree3cdfc91d93c5aec48acf6a0a31d4dc9fe30013a9 /emacs/.emacs.d/init/ycp-prog.el
parent4ec9311b65f343ceb9efd6709908a6e5ee44b6d7 (diff)
[emacs] misc fixes
Diffstat (limited to 'emacs/.emacs.d/init/ycp-prog.el')
-rw-r--r--emacs/.emacs.d/init/ycp-prog.el1
1 files changed, 1 insertions, 0 deletions
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")