When I use vim's quickfix to jump to errors in my build, if the file containing an error isn't already open it opens it in one of my splits, replacing the file I had open.
Is there a way to either reopen last closed file in a split or get quickfix to open files in a new split?
Try using <C-o>
in normal mode. It takes you to the previous position, even if previous position was in other file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With