2a78f151df54

Added :GundoHide & :GundoShow for easier scripting
[view raw] [browse files]
author Eli Gundry <eligundry@gmail.com>
date Sat, 31 Dec 2011 17:37:13 -0500
parents 91190e67720f
children 9002fc26d49f
branches/tags (none)
files autoload/gundo.vim plugin/gundo.vim

Changes

--- 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
--- 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
+"}}}