[go: nahoru, domu]

Skip to content

Neovim plugin that helps you sync your projects to an SFTP server

License

Notifications You must be signed in to change notification settings

dcampos/nvim-sftp-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SftpSync

SftpSync is a Neovim plugin that helps you sync your projects to an SFTP server.

Install

This plugin is known to work with Neovim stable. Version 0.5.0+ is recommended. It may still work with older releases.

Install SftpSync using your favorite plugin manager. Using vim-plug:

Plug 'dcampos/nvim-sftp-sync', { 'do': ':UpdateRemotePlugins' }

This plugin has an external dependence on the pysftp Python module. You can use the pip command to install it:

pip install pysftp

Being a Python remote plugin, it also requires pynvim to be installed and working.

Usage

Basic server configuration:

let g:sftp_sync_servers = {
            \     'server1': {
            \         'local_path': '/home/myuser/projects/project1',
            \         'remote_path': '/server/project1',
            \         'host': 'myserver.com',
            \         'username': 'mysftpuser',
            \         'password': 's3cret',
            \     }
            \ }

Send the currently open file:

:SftpSend

See :help sftp-sync for more details.

License

MIT license.

About

Neovim plugin that helps you sync your projects to an SFTP server

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages