Add smart navigation to a line beginning