summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-29 15:59:34 -0600
committerCraig Jennings <c@cjennings.net>2026-01-29 15:59:34 -0600
commit8ee102b3ea0ec05e386c889e5bd4a9610cb6a52e (patch)
treee74e88a243847a3c4a5d9700564a6b99b4d10eb8
parent304762dd3c28c33c324488a63f85bd63562515c2 (diff)
fix(transcription): add T keybinding to dirvish-mode-mapHEADmain
Dirvish uses its own keymap rather than inheriting from dired-mode-map, so the transcription keybinding needs to be explicitly added.
-rw-r--r--modules/transcription-config.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/transcription-config.el b/modules/transcription-config.el
index 5349ade0..8e3eb798 100644
--- a/modules/transcription-config.el
+++ b/modules/transcription-config.el
@@ -369,7 +369,9 @@ Prompts with completing-read to select from available backends."
(with-eval-after-load 'dired
(define-key dired-mode-map (kbd "T") #'cj/transcribe-audio-at-point))
-;; Dirvish inherits dired-mode-map, so T works automatically
+;; Dirvish uses its own keymap, so bind T there too
+(with-eval-after-load 'dirvish
+ (define-key dirvish-mode-map (kbd "T") #'cj/transcribe-audio-at-point))
;; ------------------------------- Global Keybindings --------------------------