Replies: 4 comments 1 reply
-
This is my first vim related posting since the passing of Mr Moolenaar; ~~ ~~ ~~ I didn't even know vim supported x11-clientserver. I used to love X11 forwarding over SSH for performance and access control, but it's just not practical anymore. There was a period I would run firefox in the server room because it would outperform the office workstation at my desk! The network demands are too high for X11 now. Today, that would saturate the fastest of network switches. Vim might be okay, but generally X11 support has been declining for years. To the dismay of many peers, the very effective solution is RDP. Don't get me wrong, I've been a long time pundit of M$ tools, but in this case, a fair evaluation makes RDP the winner.
For the server, typically all the bin packages are available from your OS vendor. You'll need a user account with a properly configured window manager, a display manager, a gui login manager, and the rdp server. The hardest part is getting all of these things working together, log files are golden, when you get crashing loops. You don't actually need an X11 server for this setup, so you'll save some resources there. That's about it. Once all these tools are chained together, you'll forget how you got it going, but it will run forever. -George |
Beta Was this translation helpful? Give feedback.
-
If you're asking about use cases, I use it to run tests for my plugins in Ruby with Vimrunner. I spawn a I also sometimes send build output to a Vim instance. I've described the process in a blog post, but the short of it is setting |
Beta Was this translation helpful? Give feedback.
-
The bundled editexisting plugin uses it. |
Beta Was this translation helpful? Give feedback.
-
I use it when editing latex to get reverse search from the pdf to my latex source. |
Beta Was this translation helpful? Give feedback.
-
Vim's
clientserver
feature is very platform-specific. On unix-like operating systems this depends on X11 functionality.The linux platform is going through significant changes regarding X11, with many distributions phasing X11 out completely. As that happens, vim's clientserver support will no longer work. So I'd like to get a discussion going regarding how people are using this feature today with an eye toward ways to keep this functionality working via alternative mechanisms going forward. One semi-obvious replacement candidate would be d-bus as that is the backbone of most modern linux desktops. However it occurs to me this might not be true under Microsoft's WSL or other "unix-like" setups where people might use vim.
So how do you use the x11-clientserver functionality today?
Beta Was this translation helpful? Give feedback.
All reactions