Re:Five lines I put in a blank .vimrc
by CalChris on Sunday December 13, 2020 @04:54PM
(#25410726)
I'm not going to set noswf. However, I run into the problem the writer mentions all the time where I'm opening an already opened file. Is it possible to just switch to the already opened file?
[ Parent
| on HN ]
No, because it's open in a different instance. You can use one vim instance for all your editing needs and you'll never see that error again.
And you probably should, because vim is rightfully warning you, that you might lose changes made in the other instance.
Yes, it is (at least on Mac in 2013): https://youtu.be/aHm36-na4-4?t=749
That pretty much looks like what I want. I use VimR on the Mac with its multiple windows as opposed to multiple terminal window and vim. But this is close and I'll see if it work with VimR.