Wednesday, March 11, 2020

Re: vimdiff of unnamed pipes

On 2020-03-11 21:29, Peng Yu wrote:
> If I vimdiff unnamed pipes, when I change the terminal window size,
> the contents in vim window will disappear. Is this a bug? Is there a
> way to circumvent this problem? Thanks.

Could you detail how you're using these unnamed pipes?

I tried (using a bashism)

$ vimdiff <(seq 10) <(seq 10 | sed 5d)

and then resized the terminal window on the resulting diff and
everything worked fine (vim8.1.2372 in an xterm on FreeBSD),
displaying/highlighting the one deleted line.

Additional details might also be relevant:

- your OS?

- your window-manager (if not Windows/Mac)

- which terminal emulator? (xterm, rxvt, st, ...)

- which shell? (bash, zsh, tcsh, ksh, /bin/sh, ash/dash, fish...)

- which version of vim?

- are you running in a terminal multiplexer (like tmux or GNU screen)?

- are you using some method

- are you launching vim with any plugins or non-default settings?
(does the behavior occur if you disable plugins and startup scripts)

Answers to these questions will help attempt to narrow down or
replicate the issue.

-tim


--
--
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/20200311214440.240c6e71%40bigbox.attlocal.net.

No comments:

Post a Comment