Auto VIM FTP upload on save?

Is there a plug-in or something else in mac VIM to do this? This is the only feature Sublime has that I really want VIM to do.

+3


source to share


3 answers


You can probably find a suitable plugin at vim.org . Also see this answer for possible output.

Anyway, I believe that such a function belongs to your FTP client and not your text editor.

And you're in luck, some of the most venerable Mac OS X FTP clients have some sort of "auto-sync" feature:



Macfusion , Transmit Disks and Inter-Archive "Network Drives" is an alternative that allows you to mount an FTP server as a local drive.

Philosophy aside, did you know that you can browse FTP servers directly from Vim without adding anything? See :h netrw

.

+1


source


you may be looking for the vim-sftp-sync plugin:



https://github.com/eshion/vim-sftp-sync

+1


source


I wrote a plugin for this purpose. It can be found here: https://github.com/hesselbom/vim-hsftp

It allows you to upload or download the current file via sftp.

It's in the early stages, but it worked for my purposes and you can unlock it or contribute if you like!

+1


source







All Articles