Problem: It's clumsy for scripts to handle a "restart", without custom mappings or global vars. Solution: Introduce `v:startreason` (cherry picked from commit ae426ee465)
ae426ee465