Skip to content
This repository

Feature request: quickfix list window weird position. #16

Closed
stardiviner opened this Issue August 30, 2012 · 11 comments

3 participants

stardiviner Hong Xu zhou13
stardiviner

Screenshot.

Hope SingleCompile can adjust the window position.
SingleCompile seems can not put window correctly.
The output window should be here like this:
Screenshot2

Hong Xu
Owner

You are using the automatic quickfix window show-up or you manually open the quickfix window?

SingleCompile is using the default quickfix window location of Vim if you use the automatic quickfix window popup.

If you open the quickfix window manually, you can run :bo cope to open the quickfix window in your preferred location.

stardiviner

I use automatic quickfix window show-up.

At same situation, other plugins seems can at "correct" (i mean not at a side) position. Like EasyGrep. It can show up quickfix window even I toggled NERDTree and Tagbar two plugins window.

Hong Xu
Owner

Does :bo cope work for you manually?

stardiviner

Or like this ?
Screenshot3

stardiviner

Manually can work as upper screenshot with command :bo copen.

stardiviner

I have noticed EasyGrep has one option to set window position to botright
let g:EasyGrepWindowPosition = "botright"

Hong Xu
Owner

I'll take a look into this. Thank you for your report.

stardiviner

Thanks.

zhou13

According to the vim document,

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.  To
make it always occupy the full width: >
    :botright cwindow
You can move the window around with |window-moving| commands.
For example, to move it to the top: CTRL-W K
The 'winfixheight' option will be set, which means that the window will mostly
keep its height, ignoring 'winheight' and 'equalalways'.  You can change the
height manually (e.g., by dragging the status line above it with the mouse).

To fix it, we need some very ugly workaround. (I tried about one years ago and see the source of vim) I think fix it in plugin isn't a good idea. Maybe we should post it on the vim maillist.

stardiviner

You mean a solution in Vim, not in plugin ? Yes, I always think Vim should improve the windows position management.

Hong Xu
Owner

Sorry for the delayed reply, I totally forgot this...

Now I have pushed the latest change involving this issue. Please test if this issue hasn't pushed you away from "SingleCompile".

Thanks!

stardiviner stardiviner closed this March 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.