How I wrote my first novel during my daily commute
Gabriel Gambetta

Funny. I did almost exactly the same thing with my first book except I follow the Emacs religion rather than the vim one. I even wrote on the train commute as you did — albeit in Seattle rather than Switzerland.

I blogged about it at the time too: