Re: undo and buffers
- antoine wrote:
> hello,I think you can get it with ":set hidden", but it's a setting I don't
> I'm using multiple buffers switching between them with :bn! like
> commands. My issue is when I save a buffer (:w) I can still go back to
> the pre-save state but not if I switch to another buffer and back.
> ie. with more than one buffer loaded:
> itest<ESC>:w<ENTER>u -> gives me the same state
> itest<ESC>:w<ENTER>:bn!<ENTER>:bp!<ENTER>u -> undo does not work, the
> "test" stay there.
> this is a bit of a pain for me and I was wondering if there was a way
> to circumvent this behaviour?
use myself and I know that it has side-effects. Read its help
attentively (and follow the links to other options or help tags) before