From 24facac76e1b32248e4fde00d9418efa55f77886 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Thu, 23 May 2024 21:16:09 +1000 Subject: [emacs] more smooth experience in gud - auto confirm debuginfod - write to history on kill --- emacs/.emacs.d/init/ycp-prog.el | 2 ++ 1 file changed, 2 insertions(+) (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 e2d7451..b1d0634 100644 --- a/emacs/.emacs.d/init/ycp-prog.el +++ b/emacs/.emacs.d/init/ycp-prog.el @@ -81,6 +81,7 @@ (setq gdb-many-windows t) (setq gdb-default-window-configuration-file (locate-user-emacs-file "gdb-window-conf")) + (setq gdb-debuginfod-enable-setting t) (require 'my-prog) (my-keybind global-map "C-c d q" 'my-gdb-quit @@ -114,6 +115,7 @@ (:delay 10) ;; tab-width 8 for ls etc. (add-hook 'shell-mode-hook 'my-set-tab-width-to-8) + (add-hook 'comint-mode-hook 'my-comint-add-write-history-hook) (my-keybind comint-mode-map "C-" #'my-comint-send-input-and-return-prompt) (add-to-list 'my-buffer-create-functions -- cgit v1.2.3