That was to get functional again. I had adjusted with some limitations before that. Hope you beat my record to that!
I was very lucky that my boss at the time refused to have me out of office for over a month, and just said "I don't care if you don't type a single email or line of code, just stick around if you can", and I happen to be the kind of person that dwells in misery if I don't feel productive and useful...

I learned to type (and code) with two fingers on my left hand. There were more private tasks that were much harder to perform, at least initially... you learn to appreciate accuracy when you shave or wipe your... well never mind. :-D
I also kept working out diligently. Some stuff clearly I couldn't do, but I am convinced getting your blood flowing is a key element in letting your body heal. Then again the Doc was perplexed when the first surgery was a failure and tried to blame my habits, but to this day I think they just screwed up and what I did (very carefully) has nothing to do with it. I was a great patient when it came to the recovery therapy.
But mind, it happened to me in my 40s and we don't heal as great by then. I still have restricted movement in my right hand and get very painful cramps when I do some things. I was also advised that arthritis in my right hand is pre-programmed, but I just turned 60 and things are holding up. Sh*t here and there starts hurting anyhow... :-D
I am an avid CBD consumer, it really helps with inflammation in the body, reducing a lot of pain points, especially as we age. Just yesterday I had a colleague that just turned 50 tell me I look like 45. In the right spot, I also like THC content to chill and rest better. No dependency whatsoever.
I may be too new agey with some of these things, but I think we grow a lot through these setbacks in life, painful as they are. Or maybe it is just my personal nature I never learn much from success, but failure and pain surely teach a lesson and make us more appreciative when we grow out of those phases...
Seriously, take excellent care of yourself. We are so lucky to live in this time and age in human history. 10,000 years ago we'd probably starved to death with a hand injury...