Tuesday, September 28, 2010

Re: how to set omnifunc complete window height (with img)

On Tue, 28 Sep 2010, Zac Lee wrote:

> how to set the scratch window height ?  it is 3 now, I want to set 1.
> the script is phpcomplete: http://www.vim.org/scripts/script.php?script_id=3171

Add:
set previewheight=1
to your ~/.vimrc or %HOME%\_vimrc

Or to:
~/.vim/after/syntax/php.vim or %HOME%\vimfiles\after\syntax.php
if you only want to change it for PHP completion.


Caveat: see recent discussion topic: "Is this a bug with
'previewheight'?". Perhaps some plugin(s) prevent(s) previewheight=1
from doing what it's supposed to. (worksforme)

--
Best,
Ben

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

No comments: