mundo.vim 1.1 KB

12345678910111213141516171819202122232425262728
  1. " ============================================================================
  2. " File: mundo.vim
  3. " Description: vim global plugin to visualize your undo tree
  4. " Maintainer: Hyeon Kim <simnalamburt@gmail.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:mundo_debug') && (exists('g:mundo_disable') && g:mundo_disable == 1 || exists('loaded_mundo') || &cp)"{{{
  12. finish
  13. endif
  14. let loaded_mundo = 1"}}}
  15. "}}}
  16. "{{{ Misc
  17. command! -nargs=0 MundoToggle call mundo#MundoToggle()
  18. command! -nargs=0 MundoShow call mundo#MundoShow()
  19. command! -nargs=0 MundoHide call mundo#MundoHide()
  20. command! -nargs=0 MundoRenderGraph call mundo#MundoRenderGraph()
  21. command! -nargs=0 GundoToggle call mundo#util#MundoToggle()
  22. command! -nargs=0 GundoShow call mundo#util#MundoShow()
  23. command! -nargs=0 GundoHide call mundo#util#MundoHide()
  24. command! -nargs=0 GundoRenderGraph call mundo#util#MundoRenderGraph()
  25. "}}}