Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top