Gary Johnson wrote:
> 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".
Maybe the 'hidden' option is useful?
--
I AM THANKFUL...
...for the piles of laundry and ironing because it means I
have plenty of clothes to wear.
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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/202104131854.13DIspms1051997%40masaka.moolenaar.net.
Tuesday, April 13, 2021
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment