# HG changeset patch # User Eli Gundry # Date 1325371033 18000 # Node ID 2a78f151df54b53874f0aa6a85cfdad6ead224ed # Parent 91190e67720f852c17602504d5225d4e675b6499 Added :GundoHide & :GundoShow for easier scripting diff -r 91190e67720f -r 2a78f151df54 autoload/gundo.vim --- a/autoload/gundo.vim Mon Sep 19 08:37:53 2011 -0400 +++ b/autoload/gundo.vim Sat Dec 31 17:37:13 2011 -0500 @@ -311,6 +311,14 @@ endif endfunction"}}} +function! s:GundoShow()"{{{ + call s:GundoOpen() +endfunction"}}} + +function! s:GundoHide()"{{{ + call s:GundoClose() +endfunction"}}} + "}}} "{{{ Gundo mouse handling diff -r 91190e67720f -r 2a78f151df54 plugin/gundo.vim --- a/plugin/gundo.vim Mon Sep 19 08:37:53 2011 -0400 +++ b/plugin/gundo.vim Sat Dec 31 17:37:13 2011 -0500 @@ -18,5 +18,7 @@ "{{{ 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() -"}}} \ No newline at end of file +"}}}