aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/config.org
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-10-01 16:24:20 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-10-01 16:26:00 +0100
commit79da47fd51f10d540f1ba52b4534d4167229f1cb (patch)
treee38a983cd044eff09229749dff6ca2759a0f48d5 /Emacs/.config/emacs/config.org
parent0606666099853aac04a2867e205106f5c4a3c3c7 (diff)
downloaddotfiles-79da47fd51f10d540f1ba52b4534d4167229f1cb.tar.gz
dotfiles-79da47fd51f10d540f1ba52b4534d4167229f1cb.tar.bz2
dotfiles-79da47fd51f10d540f1ba52b4534d4167229f1cb.zip
GUD configuration
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r--Emacs/.config/emacs/config.org32
1 files changed, 32 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 62cfdb8..96a98a2 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -2345,6 +2345,38 @@ Little helper which launches an MPV process asynchronously.
(app-leader
"v" #'mpv-open-video))
#+end_src
+** Grand Unified Debugger
+GUD is a system for debugging, hooking into processes and
+providing an interface to the user all in Emacs. Here I define a
+hydra which provides a ton of the useful =gud= keybindings that exist
+in an Emacs-only map.
+#+begin_src emacs-lisp
+(use-package gud
+ :general
+ :after hydra
+ :hydra
+ (gud-hydra
+ (:hint nil) "Hydra for GUD"
+ ("<" #'gud-up)
+ (">" #'gud-down)
+ ("b" #'gud-break)
+ ("d" #'gud-remove)
+ ("f" #'gud-finish)
+ ("j" #'gud-jump)
+ ("l" #'gud-refresh)
+ ("n" #'gud-next)
+ ("p" #'gud-print)
+ ("r" #'gud-cont)
+ ("s" #'gud-step)
+ ("t" #'gud-tbreak)
+ ("u" #'gud-until)
+ ("v" #'gud-go)
+ ("w" #'gud-watch)
+ ("TAB" #'gud-stepi))
+ :general
+ (code-leader "d" #'gud-hydra/body
+ "D" #'gud-gdb))
+#+end_src
* Text modes
Standard packages and configurations for text-mode and its derived
modes.