Apr 13, 2020
Yak shave of the day
My editor shows signs on the margins to indicate changes since last commit. I wanted it to show diffs from an arbitrary commit.
This feature request had been understandably refused a year ago: https://github.com/mhinz/vim-signify/issues/232
So I fixed it for myself, in 3 easy steps:
- Find a simpler version: 1650 => 900 lines.
- Delete even more code: -600 lines.
- Add the feature: +2 lines.
The final result only works for me. I believe we should share raw VimScript, not packages.
This post is part of my Freewheeling Apps Devlog.
Comments gratefully appreciated. Please send them to me by any method of your choice and I'll include them here.