Uploaded February 2024 | Updated September 2026, 7 hours ago
A viewer reacted on my last video: youtube.com/watch?v=2Xa24xEB2s4&t=51s and said: "now do it in VIM in less than 2 minutes...."
So challenge accepted dear sir! And yes we can do it in less than 2 minutes even in vim.
I did forgot the option -? in the video I noticed, we also need to have the negative temperatures covered:
%s#^\v(\-*\d+\.*\d*) F$#\=printf("%.1f C", (submatch(1)-32)/1.8)#
A viewer reacted on my last video: youtube.com/watch?v=2Xa24xEB2s4&t=51s and said: "now do it in VIM in less than 2 minutes...."
So challenge accepted dear sir! And yes we can do it in less than 2 minutes even in vim.
I did forgot the option -? in the video I noticed, we also need to have the negative temperatures covered:
%s#^\v(\-*\d+\.*\d*) F$#\=printf("%.1f C", (submatch(1)-32)/1.8)#










