From f36655a13a56bdadc562e2f4f1fa951d459e4719 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sun, 24 Jan 2016 23:12:55 +0800 Subject: [PATCH 01/10] Add issue tracker --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 79566ad..4dcde8e 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,22 @@ The tests appear to be broken in tests/. Tests unit tests can be run with cd autoload nosetests +### Contributing to Mundo + +### Tagging in the issue tracker + +When submitting pull requests (commonly referred to as "PRs"), include one +of the following tags prepended to the title: + +- [WIP] - Work In Progress: the PR will change, so while there is no immediate +need for review, the submitter still might appreciate it. +- [RFC] - Request For Comment: the PR needs reviewing and/or comments. +- [RDY] - Ready: the PR has been reviewed by at least one other person and has +no outstanding issues. + +Assuming the above criteria has been met, feel free to change your PR's tag +yourself, as opposed to waiting for a contributor to do it for you. + -------- [GPLv2+][] From e72a111f90bd2fa1824d71f08c4db08fe7c7516d Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sun, 24 Jan 2016 23:14:30 +0800 Subject: [PATCH 02/10] Fix title --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4dcde8e..07ca373 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ The tests appear to be broken in tests/. Tests unit tests can be run with ### Contributing to Mundo -### Tagging in the issue tracker +**Tagging in the issue tracker** When submitting pull requests (commonly referred to as "PRs"), include one of the following tags prepended to the title: From 129116b8472173793484c07cc870a07ad2e8da95 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sun, 24 Jan 2016 23:30:28 +0800 Subject: [PATCH 03/10] Rename plugin/gundo.vim --- plugin/{gundo.vim => mundo.vim} | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) rename plugin/{gundo.vim => mundo.vim} (50%) diff --git a/plugin/gundo.vim b/plugin/mundo.vim similarity index 50% rename from plugin/gundo.vim rename to plugin/mundo.vim index d60cc0a..cc02fc4 100644 --- a/plugin/gundo.vim +++ b/plugin/mundo.vim @@ -1,7 +1,7 @@ " ============================================================================ -" File: gundo.vim +" File: mundo.vim " Description: vim global plugin to visualize your undo tree -" Maintainer: Steve Losh +" Maintainer: Hyeon Kim " 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. @@ -10,15 +10,15 @@ "{{{ Init -if !exists('g:gundo_debug') && (exists('g:gundo_disable') && g:gundo_disable == 1 || exists('loaded_gundo') || &cp)"{{{ +if !exists('g:mundo_debug') && (exists('g:mundo_disable') && g:mundo_disable == 1 || exists('loaded_mundo') || &cp)"{{{ finish endif -let loaded_gundo = 1"}}} +let loaded_mundo = 1"}}} "}}} "{{{ Misc -command! -nargs=0 GundoToggle call gundo#GundoToggle() -command! -nargs=0 GundoShow call gundo#GundoShow() -command! -nargs=0 GundoHide call gundo#GundoHide() -command! -nargs=0 GundoRenderGraph call gundo#GundoRenderGraph() +command! -nargs=0 MundoToggle call mundo#MundoToggle() +command! -nargs=0 MundoShow call mundo#MundoShow() +command! -nargs=0 MundoHide call mundo#MundoHide() +command! -nargs=0 MundoRenderGraph call mundo#MundoRenderGraph() "}}} From 6faf8bdb0ef99ee5d044e5c7188bd0ecb84ff72d Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Mon, 25 Jan 2016 00:04:41 +0800 Subject: [PATCH 04/10] rename autoload/gundo.vim --- autoload/{gundo.vim => mundo.vim} | 270 +++++++++++++++--------------- 1 file changed, 135 insertions(+), 135 deletions(-) rename autoload/{gundo.vim => mundo.vim} (56%) diff --git a/autoload/gundo.vim b/autoload/mundo.vim similarity index 56% rename from autoload/gundo.vim rename to autoload/mundo.vim index 015fee9..d613540 100644 --- a/autoload/gundo.vim +++ b/autoload/mundo.vim @@ -1,7 +1,7 @@ " ============================================================================ -" File: gundo.vim +" File: mundo.vim " Description: vim global plugin to visualize your undo tree -" Maintainer: Steve Losh +" Maintainer: Hyeon Kim " 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. @@ -13,10 +13,10 @@ let s:save_cpo = &cpo set cpo&vim if v:version < '703'"{{{ - function! s:GundoDidNotLoad() - echohl WarningMsg|echomsg "Gundo unavailable: requires Vim 7.3+"|echohl None + function! s:MundoDidNotLoad() + echohl WarningMsg|echomsg "Mundo unavailable: requires Vim 7.3+"|echohl None endfunction - command! -nargs=0 GundoToggle call s:GundoDidNotLoad() + command! -nargs=0 MundoToggle call s:MundoDidNotLoad() finish endif"}}} @@ -31,10 +31,10 @@ elseif has('python')" endif if !s:has_supported_python - function! s:GundoDidNotLoad() - echohl WarningMsg|echomsg "Gundo requires Vim to be compiled with Python 2.4+"|echohl None + function! s:MundoDidNotLoad() + echohl WarningMsg|echomsg "Mundo requires Vim to be compiled with Python 2.4+"|echohl None endfunction - command! -nargs=0 GundoToggle call s:GundoDidNotLoad() + command! -nargs=0 MundoToggle call s:MundoDidNotLoad() finish endif"}}} @@ -42,9 +42,9 @@ endif"}}} let s:plugin_path = escape(expand(':p:h'), '\') "}}} -"{{{ Gundo utility functions +"{{{ Mundo utility functions -function! s:GundoGoToWindowForBufferName(name)"{{{ +function! s:MundoGoToWindowForBufferName(name)"{{{ if bufwinnr(bufnr(a:name)) != -1 exe bufwinnr(bufnr(a:name)) . "wincmd w" return 1 @@ -53,7 +53,7 @@ function! s:GundoGoToWindowForBufferName(name)"{{{ endif endfunction"}}} -function! s:GundoIsVisible()"{{{ +function! s:MundoIsVisible()"{{{ if bufwinnr(bufnr("__Mundo__")) != -1 || bufwinnr(bufnr("__Mundo_Preview__")) != -1 return 1 else @@ -61,7 +61,7 @@ function! s:GundoIsVisible()"{{{ endif endfunction"}}} -function! s:GundoInlineHelpLength()"{{{ +function! s:MundoInlineHelpLength()"{{{ if g:mundo_help return 10 else @@ -71,40 +71,40 @@ endfunction"}}} "}}} -"{{{ Gundo buffer settings - -function! s:GundoMapGraph()"{{{ - exec 'nnoremap