# HG changeset patch # User Steve Losh # Date 1286588031 14400 # Node ID d84608c7bdfe1fef2261ef1378dc165c84e0e557 # Parent f5aa9bd91d3021aae74912ef0c473f42598f7e9e Moar. diff -r f5aa9bd91d30 -r d84608c7bdfe plugin/gundo.vim --- a/plugin/gundo.vim Fri Oct 08 20:45:36 2010 -0400 +++ b/plugin/gundo.vim Fri Oct 08 21:33:51 2010 -0400 @@ -16,7 +16,7 @@ "let loaded_gundo = 1 if !exists('g:gundo_width') - let g:gundo_width = 20 + let g:gundo_width = 40 endif function! s:GundoOpenBuffer() @@ -44,12 +44,13 @@ function! s:GundoToggle() if expand('%') == "__Gundo__" quit + exe s:gundo_back . "wincmd w" else + let s:gundo_back = winnr() GundoRender endif endfunction - function! s:GundoMarkBuffer() setlocal buftype=nofile setlocal bufhidden=hide