Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

autosave troubles #144

Closed
nwmahoney opened this issue Nov 14, 2019 · 1 comment
Closed

autosave troubles #144

nwmahoney opened this issue Nov 14, 2019 · 1 comment

Comments

@nwmahoney
Copy link

Even though the README says that autosave is disabled by default, it seems to be enabled. Furthermore, I can't figure out how to disable it. I've tried putting let g:autosave = 0 in ~/.vimrc.local.before, ~/.vimrc.local, and ~/.vimrc.local.plugins, but it still has some sort of autosave enabled.

Steps to reproduce:

  • open a new file with nvim foo
  • go into insert mode (type i)
  • type bar
  • return to normal mode (hit <escape>)
  • quit (type :q)
  • type cat foo

Current output:
bar

Expected output:
cat: foo: No such file or directory

@nwmahoney
Copy link
Author

I just tried using :q! to quit, and that actually seems to avoid saving... I'm going to close this, but having :q save seems a little surprising to me. I'll think about that and maybe open another issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant