Skip to content

Commit

Permalink
Update README wording about gud/gdb keybindings.
Browse files Browse the repository at this point in the history
I have FSF copyright assignment in place, but small changes in this PR:

Copyright-paperwork-exempt: yes
  • Loading branch information
jeff-phil authored Feb 25, 2024
1 parent 3bc743f commit 72bcc40
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ Currently =Dape= does not come with any debug adapter configuration.

#+begin_src emacs-lisp
(use-package dape
;; By default dape shares the same keybinding prefix as `gud'
;; If you do not want to use any prefix, set it to nil.
;; :preface
;; (setq dape-key-prefix "\C-x\C-a")
;;
;; May also need to set/change gud (gdb-mi) key prefix
;; (setq gud-key-prefix "\C-x\C-a")

;; To use window configuration like gud (gdb-mi)
;; :init
;; (setq dape-buffer-window-arrangement 'gud)
Expand All @@ -53,10 +61,6 @@ Currently =Dape= does not come with any debug adapter configuration.
;; (add-hook 'dape-on-stopped-hooks 'dape-info)
;; (add-hook 'dape-on-stopped-hooks 'dape-repl)

;; By default dape uses gdb keybinding prefix
;; If you do not want to use any prefix, set it to nil.
;; (setq dape-key-prefix "\C-x\C-a")

;; Kill compile buffer on build success
;; (add-hook 'dape-compile-compile-hooks 'kill-buffer)

Expand Down

0 comments on commit 72bcc40

Please sign in to comment.