Added :GundoHide & :GundoShow for easier scripting

This commit is contained in:
Eli Gundry 2011-12-31 17:37:13 -05:00
parent 12b6f67aeb
commit 50092711ff
2 changed files with 11 additions and 1 deletions

View File

@ -311,6 +311,14 @@ function! s:GundoToggle()"{{{
endif
endfunction"}}}
function! s:GundoShow()"{{{
call s:GundoOpen()
endfunction"}}}
function! s:GundoHide()"{{{
call s:GundoClose()
endfunction"}}}
"}}}
"{{{ Gundo mouse handling

View File

@ -18,5 +18,7 @@ let loaded_gundo = 1"}}}
"{{{ Misc
command! -nargs=0 GundoToggle call gundo#GundoToggle()
command! -nargs=0 GundoShow call gundo#GundoShow()
command! -nargs=0 GundoHide call gundo#GundoHide()
command! -nargs=0 GundoRenderGraph call gundo#GundoRenderGraph()
"}}}