Wednesday, December 2, 2015

Re: :windo and quickfix

Hi Paul!

On Mi, 02 Dez 2015, Paul wrote:

> I have two buffers open in a split window. I also have the quickfix
> window open. I want to :diffthis on each of the non-quickfix buffers,
> by doing ":windo diffthis", but it also does it on the quickfix
> window. Other than doing "diffthis" twice, ie. going to each window
> and setting it manually, is there a way to :windo "something" and have
> it not do it on the quickfix window (or location list)?

I have never needed this, but this should work:

:windo :cclose | diffthis

or even more fancier:
:exe ":windo :cclose | diffthis" |copen

Best,
Christian
--
Kommt ein Blinder zu Karstadt und fängt an, seinen Blindenhund über
seinem Kopf im Kreis zu schwingen. Fragt der Verkäufer: "Was machen
Sie denn da?" Sagt der Blinde: "Man wird sich doch mal umgucken
dürfen!"

--
--
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.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment