From 447532aee0c7db559f4b01c724f03802e725dd18 Mon Sep 17 00:00:00 2001 From: gered Date: Sun, 8 Dec 2024 19:14:26 -0500 Subject: [PATCH] configure dap-mode keybindings and default features. mainly, turn off the ui toolbar as clicking those buttons just results in errors for me. --- emacs.d/dev.el | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/emacs.d/dev.el b/emacs.d/dev.el index 7345bf7..ca940f0 100644 --- a/emacs.d/dev.el +++ b/emacs.d/dev.el @@ -109,6 +109,22 @@ (use-package dap-mode :ensure t + :bind + ( :map dap-mode-map + ("" . 'dap-continue) + ("" . 'dap-step-in) + ("" . 'dap-next) + ("S-" . 'dap-step-out) + ("C-c C-d b" . 'dap-breakpoint-add) + ("C-c C-d B" . 'dap-breakpoint-delete) + ("C-c C-d e" . 'dap-eval-thing-at-point) + ("C-c C-d E" . 'dap-eval) + ("C-c C-d s" . 'dap-switch-stack-frame) + ("C-q" . 'dap-disconnect) + ("M-" . 'dap-up-stack-frame) + ("M-" . 'dap-down-stack-frame)) :commands dap-mode + :init + (setq dap-auto-configure-features '(sessions locals tooltip breakpoints expressions)) :config (use-package dap-gdb))