window: Implement auto substitution from the first symbol