I'm particularly concerned with git
, but I imagine this is a good place to use vc
. I want to emulate Atom's git integration with its file explorer:
How can I get something like this in dired
? I understand there are other tools for simulating a proper tree structure, but the normal i/RET
workflow should work just fine.
.gitignore
, light grey is up-to-date and orange is modified? – Jonathan Leech-Pepin Feb 23 '15 at 19:52M-x customize
:) – Sean Allred Feb 23 '15 at 19:53dired-vc
package that adjusts the faces of the files. Google doesn't seem to come up with anything. ->dired-after-readin-hook
looks like an entry point for it (each listing is narrowed to after reading). – Jonathan Leech-Pepin Feb 23 '15 at 20:04(buffer-string)
is effectively the entire output ofls
.) Could potentially usedired-get-filename
. – Sean Allred Feb 23 '15 at 20:14.el
file says run unnarrowed because you don't need to narrow. – Jonathan Leech-Pepin Feb 23 '15 at 20:23M-x vc-dir
. It isn't quite the same as dired but it's pretty nice anyway. If you really want VC on dired, I think the only option is to write elisp to do it. Maybe not super hard since VC can already provide the information you need. – Tom Tromey Feb 24 '15 at 14:21vc-dir
will display unchanged files. While I apropos for a controlling variable, do you know if there is one? – Sean Allred Feb 24 '15 at 14:22vc-dir.el:1282
is responsible for highlighting entries, but it looks like the function doesn't even get called. – Sean Allred Feb 24 '15 at 14:26vc-dir.el:1110
to do this, but @TomTromey is right: there is no actual toggle. – Sean Allred Feb 24 '15 at 14:31