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)
I think you can try the following command,
vim -X
-X
means don't connect to the X server
It works. Many thanks