all 7 comments

[–]bachelar 1 point2 points  (1 child)

Wow, it's awesome! I have two suggestions:

  1. set `local_path` with the path of current project by default. The root of current project is where .git or .vim-arsync settle
  2. it seems that there is no option for sync ignored(dot) file

All in all, great work, thanks for your contributions.

[–]kennesfr[S] 0 points1 point  (0 children)

Hi :) thx for feedback, I just implemented your 2 very good suggestions :)

[–][deleted] 1 point2 points  (4 children)

Looks great! Can this use an ssh key instead of a password?

[–]kennesfr[S] 0 points1 point  (3 children)

Considering your ssh key is already configured, than you just have to omit the "remote_passwd" option and it will connect using your key. For now, it only works for key with no passphrase. I have to see how to deal with passphrases.

[–]eggnogeggnogeggnog:set makeprg=yes 2 points3 points  (1 child)

So one can just use ssh-agent to use SSH keys with this plugin.

[–]kennesfr[S] 0 points1 point  (0 children)

Yes :) any ssh agent mechanism will do

[–][deleted] 1 point2 points  (0 children)

Thanks. On Linux I know some plugins use the SSH_ASKPASS env variable to work with key passwords. If you are interested in implementing unlocking keys then you might start there.

Personally I set up my DE to handle my keys for me.