ZSH has built-in autocomplete for scp, so a command like
scp user@host /path/
displays a list of directories on the remote server.
However, this does not work when opening a remote file in vim
vim scp:// user@host /path/
I have googled for documentation on zsh autocomplete functions, but it seems very complicated. How to enable autocomplete for vim scp?
source share