Make the preview pane's height configurable.
    
        | author | Steve Losh <steve@stevelosh.com> | 
    
        | date | Wed, 20 Oct 2010 19:46:37 -0400 | 
    
    
        | parents | 69dc4f1adff2 | 
    
        | children | 4427cda8108c | 
    
        | branches/tags | (none) | 
    
        | files | plugin/gundo.vim | 
Changes
    
--- a/plugin/gundo.vim	Wed Oct 20 19:43:22 2010 -0400
+++ b/plugin/gundo.vim	Wed Oct 20 19:46:37 2010 -0400
@@ -46,6 +46,10 @@
     let g:gundo_width = 45
 endif"}}}
 
+if !exists('g:gundo_preview_height')"{{{
+    let g:gundo_preview_height = 15
+endif"}}}
+
 "}}}
 
 "{{{ Movement
@@ -158,7 +162,7 @@
     exe "vertical resize " . g:gundo_width
 
     exe bufwinnr(bufnr('__Gundo_Preview__')) . "wincmd w"
-    exe "resize " . 15
+    exe "resize " . g:gundo_preview_height
 
     exe a:backto . "wincmd w"
 endfunction"}}}