0

Can Vim's +clientserver feature be used on MacOS 12.2.1? I have Vim installed +clientserver feature on, but the --serverlist and --servername <name> flags do not work.

I don't mind compiling Vim from source or using a GUI package of Vim. Nor do I mind using xquartz if that is necessary. If this is not possible on MacOS 12 to get this feature working on MacOS, any workarounds using other packages or Vim plugins that provide similar functionality would be welcome.

Note: This question is similar to these two questions:

The most recent answer on both of these is from 2016 and no longer works on MacOS 12 so I don't think this should be considered a duplicate.

Stratus3D
  • 4,648
  • 4
  • 35
  • 67

1 Answers1

1

MacVim has the +clientserver feature but only the GUI can act as a server while both the GUI and the TUI can act as clients.

Once MacVim is installed, check out :help macvim-clientserver.

romainl
  • 186,200
  • 21
  • 280
  • 313
  • I see. Ideally I'd like the server to be an instance of Vim running in the terminal. Is that not possible at all? – Stratus3D Mar 13 '23 at 17:02
  • Not with MacVim because it manages this through a feature of the GUI toolkit. Maybe with a manual build, along with xquartz. – romainl Mar 13 '23 at 17:15