diff --git a/doc/gundo.txt b/doc/gundo.txt index 0bc9734..987cba0 100644 --- a/doc/gundo.txt +++ b/doc/gundo.txt @@ -60,6 +60,7 @@ look something like this: > | |/ | | | o [1] 4 hours ago | | | | | | + | o [0] Original | | +-----------------------------------+ | | --- 3 2010-10-12 06:27:35 PM | | | +++ 5 2010-10-12 07:38:37 PM | | diff --git a/plugin/gundo.vim b/plugin/gundo.vim index 56f5f74..2f06df3 100644 --- a/plugin/gundo.vim +++ b/plugin/gundo.vim @@ -37,8 +37,6 @@ function! s:GundoMove(direction) " Bound the movement to the graph. if target_n <= 4 call cursor(5, 0) - elseif target_n >= line('$') - call cursor(line('$') - 1, 0) else call cursor(target_n, 0) endif @@ -81,7 +79,6 @@ function! s:GundoOpenBuffer() nnoremap