After running a command that opens a new split (e.g.
:botright 10new), how can I have the cursor move back to its previous position? A use case would be to show a message in a scratch buffer without moving out of the current file.
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.Sign up to join this community