diff options
author | Yuchen Pei <id@ypei.org> | 2024-05-23 21:16:09 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2024-05-23 21:16:09 +1000 |
commit | 24facac76e1b32248e4fde00d9418efa55f77886 (patch) | |
tree | cde83bf0a85d010045eb1008873a2ea716cb067d /emacs/.emacs.d/init | |
parent | ba0adb67f9a96ea34042ab55e2823868b15ef6ee (diff) |
[emacs] more smooth experience in gud
- auto confirm debuginfod
- write to history on kill
Diffstat (limited to 'emacs/.emacs.d/init')
-rw-r--r-- | emacs/.emacs.d/init/ycp-prog.el | 2 |
1 files changed, 2 insertions, 0 deletions
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-<return>" #'my-comint-send-input-and-return-prompt) (add-to-list 'my-buffer-create-functions |