A Neovim plugin that provides seamless file transfer integration with trzsz through a transfer terminal opened in a top split.
:Trzreceive files in a transfer terminal.:Tsz {filename}send a file withtszin a transfer terminal.
return {
{
"gitsang/trzsz.nvim",
opts = {
height = 5,
trz_cmd = "trz",
tsz_cmd = "tsz -y",
-- or argv style to avoid shell parsing issues:
-- tsz_cmd = { "tsz", "-y" },
},
cmd = { "Trz", "Tsz" },
keys = {
{ "<leader>tu", "<cmd>Trz<cr>", desc = "Upload files with trz" },
{ "<leader>td", "<cmd>Tsz<cr>", desc = "Download files with trz" },
},
},
}