5

I work with two displays.

I usually open one instance of Vim in display #1 (let's call it Vim #1), which over time ends up having an open buffer for nearly every file in a project.

Now I want to open one of the files in display #2, with a separate instance of Vim (#2). I ideally want to see the file in the same state I've got it somewhere inside Vim #1: with the same unsaved changes.

I ultimately want to have two separate Vim instances simultaneously editing one buffer (possibly sharing the same .swp?).

Is there a way to do that in Vim?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.