Commit 9df99dd0eac7

Vincent Demeester <vincent@sbr.pm>
2025-12-19 16:58:18
feat(emacs): add vc-dir marks workflow for monorepo commits
- Enable persistent file marking across multiple commits - Support focused iterative work on specific hosts/modules - Complement magit with lightweight vc-dir for targeted changes Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 1c9a146
Changed files (1)
tools
emacs
tools/emacs/init.el
@@ -894,6 +894,13 @@ minibuffer, even without explicitly focusing it."
 ;;       (vc-git-grep symbol "*" (vc-git-root default-directory)))))
 ;; (global-set-key (kbd "C-c p s") 'tkj/vc-git-grep-symbol)
 
+(use-package vc-dir
+  :bind (("C-x v D" . project-vc-dir)
+         :map vc-dir-mode-map
+         ("=" . vc-diff)
+         ("v" . vc-next-action)
+         ("C-c C-c" . vc-next-action)))
+
 (use-package magit
   :unless noninteractive
   :commands (magit-status magit-clone magit-pull magit-blame magit-log-buffer-file magit-log magit-file-dispatch)