--- a/plugin/gundo.vim Wed Oct 13 15:19:20 2010 -0400
+++ b/plugin/gundo.vim Wed Oct 13 15:26:49 2010 -0400
@@ -75,6 +75,7 @@
if existing_gundo_buffer == -1
exe bufwinnr(bufnr('__Gundo_Preview__')) . "wincmd w"
+ exe "new __Gundo__"
call s:GundoResizeBuffers(winnr())
nnoremap <script> <silent> <buffer> <CR> :call <sid>GundoRevert()<CR>
nnoremap <script> <silent> <buffer> j :call <sid>GundoMove(1)<CR>
@@ -138,6 +139,7 @@
setlocal buflisted
setlocal nomodifiable
setlocal filetype=diff
+ setlocal nowrap
" TODO: Set foldmethod?
endfunction
@@ -151,6 +153,7 @@
setlocal nolist
setlocal nonumber
setlocal norelativenumber
+ setlocal nowrap
call s:GundoSyntax()
endfunction