Commit f4b3aca0cdc2

Vincent Demeester <vincent@sbr.pm>
2025-10-27 12:20:55
tools/emacs: set dired-vc-rename-file to true
If the file is under version control, dired will do the right thing, aka moving it (git mv for example). Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent c694fb2
Changed files (1)
tools
emacs
tools/emacs/init.el
@@ -440,6 +440,8 @@ minibuffer, even without explicitly focusing it."
   (:map dired-mode-map
 	("E"   . wdired-change-to-wdired-mode)
 	("l"   . dired-find-file))
+  :custom
+  (dired-vc-rename-file t)
   :hook
   (dired-mode . dired-omit-mode)
   (dired-mode . dired-hide-details-mode)