4 ms·
> put that data in a fixed-width column on the margin, showing author and date `magit-blame-cycle-style` (`c` when in blame mode). > easier to use as "visual
by morelisp 5y ago
> put that data in a fixed-width column on the margin, showing author and date
`magit-blame-cycle-style` (`c` when in blame mode).
> easier to use as "visual hash" than date, author or commit hash.
Seems like it should be possible to color the margin based on the hash to get exactly this rather than a poor approximation, but looking over the blame code you'd need to do it by hacking the overlay after application, it would be nicer if it supported something like `:eval` in the format a la `mode-line-format`.
- TeMPOraL 5y ago> `magit-blame-cycle-style` (`c` when in blame mode). Thanks for that! This made me check the help for magit-blame and magit-blame-read-only modes, and I discovered various keybindings and features I was unaware of, like removal and reverse-blaming. But the most important think I just learned is that the styles are customizable, via `magit-blame-styles`. Skimming the docs, it should be trivial to reproduce the kind of visualization I'm looking for.