coffebar / transfer.nvim

Syncing files with remote server using rsync and OpenSSH
68 stars 6 forks source link

[Feature] Global deployment.lua #14

Open smjonas opened 1 month ago

smjonas commented 1 month ago

Hi, thanks for this great plugin!

I was wondering if it is possible to support a global deployment.lua file instead of per project? The location could be in e.g., vim.fn.stdpath("data")/deployment.lua. If a local deployment.lua file is present it would overwrite the global configuration. However, it would fallback to the global one.

This would allow users to configure their servers + mappings globally in one place instead of per project.

Is this something you could consider adding as a feature?

coffebar commented 1 month ago

Thanks for your interest! Personally, I don't need this feature, but PR is welcome.