2025-03-13 12:11:19 +01:00
2025-03-13 12:11:19 +01:00
2024-12-02 00:56:15 -03:00
2024-12-02 00:48:06 -03:00
2025-03-13 12:11:19 +01:00

Plugins for syncronization in FTP servers

Plugins for syncronization in FTP servers

Installation

Install with your plugin manager.

Lazy.nvim

    {
        url = "https://git.cems.dev/cdricms/nvim-sync-ftp",
        config = function ()
            require('nvim-sync-ftp').setup()
        end
    }

Settings

Create a file named .sync-ftp-config in the project root, or run the command :SyncFtpMapToRemote which will automatically create the file in root path. After change it to the server credentials.

.sync-ftp-config

    host host.com
    user user_name
    password  password
    port 22
    remote_path /root_remote/
    upload_to_save false 

host: IP server

user: User name

password: Password

port: Port server

remote_path: Root path remote

upload_to_save: (true|false) - Setting to send file when saving

Commands

:FtpInit: Create configuration file in root directory

:FtpPushFile: Upload file from current open Buffer

:FtpPush: Upload directory from current open Buffer

Original project

https://github.com/LucasMiguel/nvim-sync-ftp

Description
No description provided
Readme GPL-3.0 52 KiB
Languages
Lua 100%