gundo.vim 866 B

123456789101112131415161718192021222324
  1. " ============================================================================
  2. " File: gundo.vim
  3. " Description: vim global plugin to visualize your undo tree
  4. " Maintainer: Steve Losh <steve@stevelosh.com>
  5. " License: GPLv2+ -- look it up.
  6. " Notes: Much of this code was thiefed from Mercurial, and the rest was
  7. " heavily inspired by scratch.vim and histwin.vim.
  8. "
  9. " ============================================================================
  10. "{{{ Init
  11. if !exists('g:gundo_debug') && (exists('g:gundo_disable') || exists('loaded_gundo') || &cp)"{{{
  12. finish
  13. endif
  14. let loaded_gundo = 1"}}}
  15. "}}}
  16. "{{{ Misc
  17. command! -nargs=0 GundoToggle call gundo#GundoToggle()
  18. command! -nargs=0 GundoShow call gundo#GundoShow()
  19. command! -nargs=0 GundoHide call gundo#GundoHide()
  20. command! -nargs=0 GundoRenderGraph call gundo#GundoRenderGraph()
  21. "}}}