There are about 2600 seats on 29 planes from Edinburgh to London's 3 airports on Monday -- average of say 100 seats a plane.
There's about 12,600 train seats
How do you propose to fit in another 145 flights a day between the two cities?
Airports in city centers are pretty problematic and I don't think that they can handle the number of commuters that a railway can.
I wasn't contemplating it as an en masse replacement: from a traveller's perspective I consider flying for journeys where rail is an option (because cars are cheaper usually for short-medium, and walking/buses for short journeys).
You're right re city centers, perhaps I gave a bad example - in UK for longer journeys I like the train but flying is superior (for my use-case) usually - cheaper, faster.
Going by air is an alternative to rail for some journeys [eg within UK] too. Edinburgh-London for example.