plugin/gundo.vim @ 220b0be0ab03

Move most of the script to autoload
author Kien N <contact@ndkien.com>
date Wed, 29 Jun 2011 03:06:37 +0700
parents fd0f910e8347
children 2a78f151df54
" ============================================================================
" File:        gundo.vim
" Description: vim global plugin to visualize your undo tree
" Maintainer:  Steve Losh <steve@stevelosh.com>
" License:     GPLv2+ -- look it up.
" Notes:       Much of this code was thiefed from Mercurial, and the rest was
"              heavily inspired by scratch.vim and histwin.vim.
"
" ============================================================================


"{{{ Init
if !exists('g:gundo_debug') && (exists('g:gundo_disable') || exists('loaded_gundo') || &cp)"{{{
    finish
endif
let loaded_gundo = 1"}}}
"}}}

"{{{ Misc
command! -nargs=0 GundoToggle call gundo#GundoToggle()
command! -nargs=0 GundoRenderGraph call gundo#GundoRenderGraph()
"}}}