auto-save.nvim icon indicating copy to clipboard operation
auto-save.nvim copied to clipboard

The plufin autosaves NetRW buffer when I create new folder

Open ghost opened this issue 1 year ago • 3 comments

Inside NetRW (:Ex)

when I create new folder or remove the file, the plugin autosaves despite that this buffer is read only. It makes buffer marked as unsaved and after that I cannot do anything besides quiting vim and launching it again.

is there any way to disable plugin when I inside NetRW ?

ghost avatar Oct 10 '24 13:10 ghost

Screenshot 2024-10-10 at 16 31 15 Screenshot 2024-10-10 at 16 31 22

ghost avatar Oct 10 '24 13:10 ghost

You could try https://github.com/okuuva/auto-save.nvim (disclaimer: I'm one of the maintainers), as it is more actively maintained. Have a look into the condition config option.

primeapple avatar Oct 10 '24 20:10 primeapple

will try, thanks!

ghost avatar Oct 11 '24 09:10 ghost