If I connect via sftp with netrw plugin and open the file, filepath looks like sftp://.. In current session if I close this file and reopen it, netrw loads file from /tmp/.. and after saving this file is not uploaded to server. How can I delete temp file after closing?

有帮助吗?

解决方案

Though it did not turn out to win, but I found one alternative - it's buffers. For convenience and easy access, I use a plugin bufexplorer and the second time I open the file directly from it already.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top