Reputation: 129
When I launch vim on command line via SSH connection with X11 forwarding (eg. ssh -X
or set ssh_config X11Forwarding yes
), XQuartz.app is also launched. It takes a bit of time, so I cannot edit file quickly.
How to stop vim's X11 forwarding?
My computer: macOS Catalina
Remote computer: Linux / VIM - Vi IMproved 7.4 (2013 Aug 10)
Upvotes: 2
Views: 417
Reputation: 11047
I think you can try the following command,
vim -X
-X
means don't connect to the X server
Upvotes: 2