I've tried doing this screen-capture-to-gif thing before but it was always frustrating. I'd love to hear about the workflow to make a gif like this.
Then I transform the video into a gif using https://github.com/mathieudutour/dotfiles/blob/master/bin/mo...
Hope that helps!
[1]
See one of my projects for example: https://github.com/timvisee/ffsend#ffsend-wip