I am used to Sublime's SFTP plugin - It lets you map a local folder to a remote folder. Which mean that the file you are working on is automatically updates in the remote server when you hit the save button. This is a must-have when I work on dev websites as I can run Grunt tasks on my local folder to get my css and my js minified,…
However I recently gave a try to the VIM editor which is pretty cool and I found this plugin vim-sync that looks similar but I couldn't get it work. I did a lot of research and I ended up using SSHFS but it's actually way too slow especially when I SSHFS through multiple connections.
I am not particularly looking for a VIM plugin. I found great tools like rsync but it's a bit of a pain as I need to enter the command line and the server password every time I want to sync.
You have to know that I do not have permissions on servers(so I can't use tool like Unison nor create a SSH key for rsync), I sometimes need to SSH via a specific port and I sometimes need to use a SSH key.
Any help will be greatly appreciated.
I apologise for any mistakes in my english.
Thank you a lot.
To the people encountering the same issue I recommend you to have a look at the vim-hsftp plugin. I didn't try it when I found it because I thought it wouldn't work with SSH key but you simply need to write the path to it instead of the password and you are good to go. Easy as pie, it's exactly what I was looking for.
Well done to the guy who built this plugin.