1

I have recently started using vim plugins and was trying to setup python-mode with pep8. I wanted to see split the window vertically. I was able to achieve it using autocmd commad as :

:autocmd FileType qf wincmd L 

But now height of file window and quickfix window reduces to 10. Is there a way to change this to max possible height ?

Nirmal Agarwal
  • 195
  • 2
  • 6

1 Answers1

1

If you need to adjust the height of pymode quickfix window, following documentation you can try to change these settings in your .vimrc

let g:pymode_quickfix_minheight = 3
let g:pymode_quickfix_maxheight = 6

If you need just to open a quickfix window vertically, you can do so by using :vert command

:vert copen
ryuichiro
  • 3,765
  • 1
  • 16
  • 21
  • is it possible to adjust the variable based on window size ? I want it to be always equal to the size of the window. also could you please point me how to navigate from 1 error to another ? – Nirmal Agarwal Oct 02 '15 at 14:02
  • About pointing to navigate - read documentation, as mentioned romainl, and use Google. – ryuichiro Oct 02 '15 at 14:51
  • 1
    This function `pymode#quickfix_open(onlyRecognized, maxHeight, minHeight, jumpError)` in `python-mode/autoload/pymode.vim` seems to be probably responsible for size adjustment of the quickfix. You can change it, or you can ask for this feature at [issue tracker](https://github.com/klen/python-mode/issues). – ryuichiro Oct 02 '15 at 15:21