This has been plaguing me for a while now, but I've only just recently been able to come up with an MCVE.
The problem is that when
autochdir is on and I use
:Explore to open netrw sometimes it will set the
buftype of the original buffer to
nofile. This is very annoying as if I come back to the buffer later and try to save it, I get the error
E382: Cannot write, 'buftype' option is set. I then have to
set buftype= to save. I know I'm not the only one who has seen this.
set autochdir. Open an already existing file and make an edit (don't save). Use
:Explore to open netrw. Close the netrw window. Use
:Explore to open netrw again. Return to the original file and note:
set buftype?. It should be set to
I'm using vim 8.0.69 on Win7. It happens on both vim and Gvim. Can anyone else reproduce this, and do you have any suggestions on how to get it to stop? (Other than unsetting