971a80a9a499

vim: start gundo
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 11 Jun 2010 01:49:38 -0400
parents a4a20a2f7455
children 196cb78c5356
branches/tags (none)
files vim/bundle/gundo/plugin/gundo.vim

Changes

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vim/bundle/gundo/plugin/gundo.vim	Fri Jun 11 01:49:38 2010 -0400
@@ -0,0 +1,15 @@
+" if exists('loaded_gundo')
+"   finish
+" endif
+" let loaded_gundo = 1
+
+if !hasmapto('<Plug>Gundo')
+    map <leader>u <Plug>GundoShowGraph
+endif
+
+noremap <unique> <script> <Plug>GundoShowGraph <SID>ShowGraph
+noremap <SID>ShowGraph :call <SID>ShowGraph()<CR>
+
+function s:ShowGraph()
+    echo "Show the graph here plz"
+endfunction