vim-sync icon indicating copy to clipboard operation
vim-sync copied to clipboard

Getting "expect: option requires..." error

Open flaugher opened this issue 8 years ago • 0 comments

When I use vim-sync and type my leader key followed by "su", I get the following error:

expect: option requires an argument -- c    
usage: expect [-div] [-c cmds] [[-f] cmdfile] [args]
shell returned 1.
Press ENTER or type command to continue

I copy-pasted the sftp code as shown into an executable .sync file and then changed "login_name" and the 1.2.3.4 IP address to my login name and the server's IP address.

Any ideas on how to fix this?

Thanks.

flaugher avatar May 26 '16 19:05 flaugher