From 08bd9b260cf5431c4ad4c81a74c396ffe78a9ed5 Mon Sep 17 00:00:00 2001 From: Steve Losh Date: Fri, 8 Oct 2010 21:33:51 -0400 Subject: [PATCH] Moar. --- plugin/gundo.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugin/gundo.vim b/plugin/gundo.vim index b671b33..611f871 100644 --- a/plugin/gundo.vim +++ b/plugin/gundo.vim @@ -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 @@ endfunction 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