configure dap-mode
keybindings and default features. mainly, turn off the ui toolbar as clicking those buttons just results in errors for me.
This commit is contained in:
parent
96cf15be7e
commit
447532aee0
|
@ -109,6 +109,22 @@
|
||||||
|
|
||||||
(use-package dap-mode
|
(use-package dap-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
|
:bind
|
||||||
|
( :map dap-mode-map
|
||||||
|
("<f9>" . 'dap-continue)
|
||||||
|
("<f7>" . 'dap-step-in)
|
||||||
|
("<f8>" . 'dap-next)
|
||||||
|
("S-<f8>" . '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-<prior>" . 'dap-up-stack-frame)
|
||||||
|
("M-<next>" . 'dap-down-stack-frame))
|
||||||
:commands dap-mode
|
:commands dap-mode
|
||||||
|
:init
|
||||||
|
(setq dap-auto-configure-features '(sessions locals tooltip breakpoints expressions))
|
||||||
:config
|
:config
|
||||||
(use-package dap-gdb))
|
(use-package dap-gdb))
|
||||||
|
|
Loading…
Reference in a new issue