Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dcampos/nvim-sftp-sync
Neovim plugin that helps you sync your projects to an SFTP server
https://github.com/dcampos/nvim-sftp-sync
neovim neovim-plugin
Last synced: 13 days ago
JSON representation
Neovim plugin that helps you sync your projects to an SFTP server
- Host: GitHub
- URL: https://github.com/dcampos/nvim-sftp-sync
- Owner: dcampos
- License: mit
- Created: 2020-07-07T02:02:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-06T19:33:00.000Z (about 1 year ago)
- Last Synced: 2024-08-07T18:43:13.198Z (3 months ago)
- Topics: neovim, neovim-plugin
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 9
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```vim
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.