Normally when quickfix window opens it changes the screen layout, but Vim restores it when that window is closed.
But there is a situation where the layout restoration fails: when the preview window is open, vertical splits are presents and :wincmd J is executed in quickfix (or it is opened with :botright copen). In this case the size of preview window is changed. Steps to reproduce: 1) vim -N -u NONE 2) :set sb | set spr | e <some_file_with_tags> | vs | ptag <tag_name> 3) :copen 4) :ccl -> notice that screen layout is restored 5) :wincmd P | echo winheight(0) -> previewindow height = 12 6) :botright copen 7) :ccl -> notice that preview window height is changed 8) :wincmd P | echo winheight(0) -> previewindow height = 23 There is a workaround, http://stackoverflow.com/questions/13707052/quickfix-preview-window-resizing, but maybe this could be changed inside Vim. -- You received this message from the "vim_dev" 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
