When I'm in a modified buffer and try to open a file using
:e otherFile I get
E37: No write since last change (add ! to override)
Since this happens fairly often, I'd like to automatically save the current file before opening the new one.
That's why I added this to my
autocmd BufLeave * silent! wall
But this autocommand doesn't help when using