Tuesday, April 13, 2021

Re: Why vimdiff <() <() reset when terminal is switched?

On 2021-04-13, Peng Yu wrote:
> When I call `vimdiff <(seq 3) <(seq 4)`, then switch to another terminal then
> switch back, the content in vim disappear. How to make the content persistent?

I run vimdiff with process substitution like that all the time
without losing anything. The outputs of those seq commands exist
only in Vim buffers; you can't abandon those buffers and expect
to recover them. If you want to use Vim to look at something else,
just don't close the windows containing those buffers.

I don't understand what you mean by "switch to another terminal".

Regards,
Gary

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20210413152925.GB8076%40phoenix.

No comments: