Thursday, December 4, 2014

Re: The window to be chosen for quickfix

On Thursday, December 4, 2014 5:17:50 PM UTC+9, h_east wrote:
> Hi itchyny,
>
> 2014/12/4(Thu) 11:39:23 UTC+9 nekneknek...@gmail.com:
> (snip)
> > On Thursday, December 4, 2014 3:40:14 AM UTC+9, Gary Johnson wrote:
> > >
> > > For 3, I think itchyny means the following.
> > >
> > > The user is editing in the left window of a split display.
> > >
> > > +-----------+-----------+
> > > | active | |
> > > | window | |
> > > | | |
> > > | | |
> > > | | |
> > > | | |
> > > +-----------+-----------+
> > >
> > > The user then executes :copen. The quickfix window should open at
> > > the bottom and be full-width.
> > >
> > > +-----------+-----------+
> > > | | |
> > > | | |
> > > | | |
> > > | | |
> > > +-----------+-----------+
> > > | quickfix window |
> > > +-----------+-----------+
> > >
> > > Further, hitting Enter on any line in the quickfix window should
> > > open that target in the window that was active at the time the
> > > :copen command was executed. In this case, that would be the left
> > > window.
> > >
> >
> > Yes! Gary, thank you so much for following up. That's exactly what I mean.
> > I should have explain with such pictures. I hope this behaviour will be fixed
> > in the upstream of the Vim source.
>
> How about this?
> :copen|wincmd J
>
>
> Best regards,
> Hirohito Higashi (a.k.a h_east)

Thanks for reply h_east. But after opening quickfix with `:copen | wincmd J`,
hitting enter opens the corresponding code at the right window. I expect
to be opened at the left window (which was active before opening the quickfix window).

--
--
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