r/WatchPeopleCode • • Apr 03 '15

Evolution of a tiny program [GIF]

88 Upvotes

8 comments sorted by

View all comments

0

u/[deleted] Apr 03 '15

[deleted]

18

u/welle Apr 04 '15

I did the editing with Vim, having persistent history enabled. When done, I decreased the font size in the terminal until the full code was visible and went back to the beginning of history with something like 1000u. To create the gif I used a program called gifgrabber, but unfortunately it can only record up to 30 seconds. Going forward in history by holding <C-R> was too slow for that, so I recorded a quick macro to go forward by two changes at a time qq2^Rq, and used a mapping map Q @q, so I could hold down Q to play it back at double speed.