Is it possible to automatically return to where the cursor was before running
Currently, the cursor ends in the last file in the quickfix, then I have to navigate back to where I was before running the command.
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
It turned out that pressing
C-o after the
:cdo command ends, returns the cursor to its position before running the command. I can now add this
C-o to the
:cdo command keybinding.