3 ms·
If you're going to use buffers (which you should), make sure to set hidden otherwise you'll get an error message when you try to swap to a different buffe
by dghf 9y ago
If you're going to use buffers (which you should), make sure to
set hidden
otherwise you'll get an error message when you try to swap to a different buffers when you have unsaved changes in your current buffer,
- Walf 9y agoGreat for helping lose unsaved changes, too.
- icc97 9y agoYou still get a warning if you try to close without saving
- dghf 9y agoBut the whole point of 'set hidden' is that the current buffer is hidden (rather than unloaded/closed) when you switch to a different one, so there's no prospect of losing unsaved changes -- unless you :qa! without checking your buffer list first.