Yes. It works. Thanks.

On Tuesday, April 13, 2021 at 6:48:59 AM UTC-5 rwmit...@gmail.com wrote:

> What does that do  that:
>  
> seq 10 | vim -
>
> doesn't?
>
> On Tuesday, April 13, 2021 at 12:22:25 AM UTC-4 Peng Yu wrote:
>
>> Hi, 
>>
>> When I use the following command to open something from stdin, it will 
>> reset the content on the screen when I switch between terminals. Is 
>> there a way to keep the content persistent while I switch between 
>> terminals? Thanks. 
>>
>> seq 10 | { vim /dev/fd/$fd1 </dev/tty; } {fd1}<&0 
>>
>> -- 
>> Regards, 
>> Peng 
>>
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/73c7f3da-5d6e-493d-863e-43fb7237c955n%40googlegroups.com.

Reply via email to