That's a cool way to learn Nim! Especially impressive considering you didn't have mobile internet. Leveraging the offline resources like the docs and standard library source code sounds really effective.
Nim's focus on readability and a clean syntax [1] probably made those resources easier to digest while on the train. Did you find the standard library source code to be well-written and helpful for learning the language?