vim/bundle/gundo/plugin/gundo.vim @ 45b16bbe73c2

vim: add a diff shortcut
author Steve Losh <steve@stevelosh.com>
date Tue, 27 Jul 2010 11:06:14 -0400
parents 971a80a9a499
children (none)
" 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