GithubHelp home page GithubHelp logo

yuseku / rsync.nvim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oscarcreator/rsync.nvim

0.0 0.0 0.0 59 KB

neovim plugin which synchronises project with rsync on save.

Lua 93.08% Rust 2.36% Makefile 4.35% Vim Script 0.22%

rsync.nvim's Introduction

rsync.nvim

Asynchronously transfer your files with rsync on save.

Dependencies

  • cargo
  • rsync

Installation

use {'OscarCreator/rsync.nvim', run = 'make',
    requires = {
        {'nvim-lua/plenary.nvim'}
    }
}

Usage

rsync.nvim looks for nvim/rsync.toml in the root of your project.

The current options available:

# this is the path to the remote. Can be either a local/remote filepath.
remote_path = "../copy/"
# or if using ssh
remote_path = "user@host:/home/user/path/"

# specifying a file(s) which should be synced "down" but are on .gitignore.
# this is a workaround to sync down files which are included on .gitignore
remote_includes = "build.log"
# or using an array if multiple files are needed.
remote_includes = ["build.log", "build/generated.json"]

Commands

Name Action
RsyncDown Sync all files from remote* to local folder.
RsyncDownFile Sync current file from remote to local folder.
RsyncUp Sync all files from local* to remote folder.
RsyncUpFile Sync current file from local to remote. This requires rsync version >= 3.2.3

*: Files which are excluded are, everything in .gitignore and .nvim folder.

rsync.nvim's People

Contributors

oscarcreator avatar yuseku avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.