Skip to content
Adam Porter edited this page Feb 13, 2024 · 3 revisions

C-x C-a prefix conflicts with Dape and GUD

The Dape package which also includes GUD or GDB-MI use C-x C-a as their default prefix.

If you prefer to use C-x C-a for Activities, you will need to change Dape and GUD prefix keys. This should be done the Dape use-package declaration in :preface section for both in order to keep them from removing Activities's C-x C-a keys.

Example where prefix for Dape and GUD is changed to C-x D:

  (use-package dape
    :preface
    ;; Needs to be done in `preface` in order to not interfere with `C-x C-a` of `Activities'
    ;; This is `C-x D` prefix
    (setq dape-key-prefix "\C-xD")
    (setq gud-key-prefix "\C-xD")) ;; gdb-mi
Clone this wiki locally