Working with vim on multiple monitors

Viewed 10032

I have three monitors.

I normally run one maximized xterm on each monitor, attached to the same GNU screen session.

Can a similar model be used for vim? Is it possible to have three vims running, all sharing the same "vim session":

  • Each vim window showing a different vim tab
  • vim settings shared between all windows
  • Not getting the "Swap file ... already exists!" error message if I open the same file on two tabs.
5 Answers

:set noswapfile :set autoread

Buffers aren't shared this way but vim reads file changes automatically if you save it. And you don't get that 'Swap file exists' message.

Related