automate relative line nos depending on mode & focus