Commit 6f123ea3f740

Vincent Demeester <vincent@sbr.pm>
2026-06-19 11:54:11
feat(emacs): configure 10 unconfigured packages
Added use-package blocks for surround (M-'), visual- regexp (remap query-replace-regexp), dape (debugger), editorconfig (global mode), eldoc-box (C-c h), dired- narrow (/ in dired), dwim-shell-command (remap shell- command), org-rich-yank (C-M-y), org-tree-slide (F8), and gotest-ts (auto-setup in go-ts-mode).
1 parent 48fb1f3
Changed files (1)
dots
config
emacs
dots/config/emacs/init.el
@@ -840,6 +840,10 @@ minibuffer, even without explicitly focusing it."
 		  ("\\.go\\'" ("_test.go"))
 		  ))))
 
+(use-package gotest-ts
+  :after go-ts-mode
+  :hook (go-ts-mode . gotest-ts-setup))
+
 (use-package lua-ts-mode
   :mode "\\.lua\\'"
   :hook (lua-ts-mode . eglot-ensure-unless-tramp))
@@ -1377,6 +1381,45 @@ minibuffer, even without explicitly focusing it."
   ("C-c v ." . consult-vc-log-select-files)
   ("C-c v m" . consult-vc-modified-files))
 
+(use-package surround
+  :bind-keymap ("M-'" . surround-keymap))
+
+(use-package visual-regexp
+  :bind (([remap query-replace-regexp] . vr/query-replace)))
+
+(use-package dape
+  :commands (dape dape-breakpoint-toggle))
+
+(use-package editorconfig
+  :config
+  (editorconfig-mode 1))
+
+(use-package eldoc-box
+  :commands (eldoc-box-help-at-point)
+  :bind ("C-c h" . eldoc-box-help-at-point))
+
+(use-package dired-narrow
+  :after dired
+  :bind (:map dired-mode-map
+         ("/" . dired-narrow)))
+
+(use-package dwim-shell-command
+  :bind (([remap shell-command] . dwim-shell-command)
+         ([remap async-shell-command] . dwim-shell-command)))
+
+(use-package org-rich-yank
+  :after org
+  :bind (:map org-mode-map
+         ("C-M-y" . org-rich-yank)))
+
+(use-package org-tree-slide
+  :after org
+  :commands (org-tree-slide-mode)
+  :bind (:map org-mode-map
+         ("<f8>" . org-tree-slide-mode))
+  :custom
+  (org-tree-slide-slide-in-effect nil))
+
 (use-package avy
   :unless noninteractive
   :commands (avy-goto-char avy-goto-line avy-goto-word-1 avy-pop-mark avy-goto-char-timer)