Changed vim to hide buffers by default instead of discarding them, the side-effect of this is that undo history is kept when switching between files