Can I change the height of the vim preview window?

I am using Eclimd to complete. it generates a lot of useful information about the function, but in the preview window in 1 line it looks messy. (the same window uses omni termination)

So:

  • Can I change the height of the default preview window?
  • Make preview pop-up instead of preview?
+5
source share
2 answers

I ran into problems with the "preview", so I came up with the following work:

set previewheight=50
au BufEnter ?* call PreviewHeightWorkAround()
func PreviewHeightWorkAround()
    if &previewwindow
        exec 'setlocal winheight='.&previewheight
    endif
endfunc
+5
source

, 'previewheight'.

0

All Articles