Permalink
Browse files

Added :GundoHide & :GundoShow for easier scripting

  • Loading branch information...
1 parent 12b6f67 commit 50092711ff831742cece76f3322674858863e3f3 @eligundry eligundry committed Dec 31, 2011
Showing with 11 additions and 1 deletion.
  1. +8 −0 autoload/gundo.vim
  2. +3 −1 plugin/gundo.vim
View
@@ -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
@@ -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()
-"}}}
+"}}}

0 comments on commit 5009271

Please sign in to comment.