:copen:copen should open the window below current window as it says here: https://github.com/vim/vim/blob/cdb7b4c50826df254d2e5ba8abd211e49b7a9784/src/quickfix.c#L4274
VIM - Vi IMproved 8.1
N/A
No response
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Might be that I'm misunderstanding the expected behavior.
If it's not supposed to be opened under curwin, would it be possible to change the default behavior to open with WSP_BOT (instead of WSP_BELOW)?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
The help states:
Normally the quickfix window is at the bottom of the screen. If there are
vertical splits, it's at the bottom of the rightmost column of windows.
Is that not what is happening? A comment in the code can easily be changed, I
rather not change the actual behavior unless there is a good reason.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Yeah, that's what the OP is describing.
IOW: "T'ain't a bug, it's a feature."
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Is that not what is happening?
Ah yes. The behavior is following the help text.
Makes sense.
I rather not change the actual behavior unless there is a good reason.
Opening qf window at the bottom right corner, by default, makes it seem like the quickfix list is somehow related to the window at bottom right corner. So opening it at the bottom of the editor seems more intuitive to me.
But it's your call... if this change is not desired, the issue can be closed.
Thanks.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
You may want to use the locationlist window instead, I think it should be opened below the currently active window instead.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Yeah, but locationlist is bound to a specific window.
If we want list that contains locations from various files across the codebase, quickfix list is the appropriate feature, right?
And since it's not bound to any specific window, (to me) it feels like bottom-of-the-editor would be better suited place to open it by default. Many plugins I use explicity executes :botright copen because of that. Would've been nice if :copen did that by default.
But again, it's the maintainers' call. If you think this shouldn't be changed, the issue can be closed.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Closed #12501 as completed.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
If we want list that contains locations from various files across the codebase, quickfix list is the appropriate feature, right?
What has that to do with the other? I tend to use the locationlist, because it is more flexible and you can have more than one. But it doesn't depend on whether I want to visit files across the codebase.
But as has been said, I think changing the existing behaviour may surprise a lot of users, let's leave it as it. Also it should be possible to move the window around to a certain extend afterwards. So let's close it then.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Munif was looking to change the default QF behavior by opening the QF window under
the current window.
Just a small correction... not under the current window, but under the whole editor.
So, if there are existing windows A, B and C, I wanted :copen to do this by default:
---------
| | B |
| A |---|
| | C |
---------
| QF |
---------
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()
Munif was looking to change the default QF behavior by opening the QF window under
the current window.
Yeah, I wanted it to open under current window initially (when creating the issue).
But later thought that under the whole editor makes more sense... so, if there are existing windows A, B and C, it makes more sense for :copen to do this by default:
---------
| | B |
| A |---|
| | C |
---------
| QF |
---------
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()