Commit Graph

157 Commits

Author SHA1 Message Date
Sam Simmons
e2dd66b729 added public show/hide methods and matched toggle open/close method 2012-04-13 00:42:46 -05:00
heavenshell
7198c51b5d Add r mapping to preview current status 2012-02-16 21:20:28 +09:00
heavenshell
3f41a2cb6d Add r mapping to preview current status 2012-02-16 21:17:21 +09:00
heavenshell
82de3eb07f Add auto preview global option 2012-02-16 00:27:25 +09:00
heavenshell
61c3685c6a Add auto preview global option 2012-02-16 00:18:49 +09:00
Steve Losh
dea060dafe Added tag v2.3.0 for changeset bf31800e9784 2012-02-07 22:01:12 -05:00
Steve Losh
cead753550 Add documentation for the statusline options. 2012-02-07 22:00:03 -05:00
Göran Gustafsson
aa7e5f10bc Added statusline settings. Fixed indentation
I want to use a custom statusline for both Gundo splits so i added two
variables for it setting it. If the variables are empty Gundo works like
normal but if there is something in them the text get used. Example:
  let g:gundo_preview_statusline = "Gundo Preview"
  let g:gundo_tree_statusline = "Gundo Tree"

The indentation was off in a few places so i fixed it. The real tabs was
removed and replaced with spaces like the rest of the source file.
2012-02-05 09:33:52 +01:00
Eli Gundry
50092711ff Added :GundoHide & :GundoShow for easier scripting 2011-12-31 17:37:13 -05:00
Steve Losh
12b6f67aeb Merge. 2011-09-19 08:37:53 -04:00
Strahinja Markovic
4ef4d54aa0 Fix a logic bug with python3 detection
Bug was introduced with previous commit.
2011-08-29 14:39:27 +02:00
Strahinja Markovic
9271614008 Fix bug with python3 support crashing Gundo
The recent change that introduced python3 support also made it the default
python version used for Gundo. This caused a problem with certain versions of
vim where upon toggling the Gundo window, we would be greeted with an error
message: "This Vim cannot execute :py3 after using :python"

This commit adds a g:gundo_prefer_python3 variable (default 0) that can be used
to set a preference for python3. By default, python2 will be used.

This also required moving the variable initialization code to the top, since
just evaluating `has('python3')` seems to trigger the vim error.
2011-08-29 14:13:01 +02:00
Matthew Bell
e90ec8b55d Fixed an issue with return syntax that breaks in python 2.4 2011-08-27 16:38:43 -07:00
Steve Losh
240efe7415 Remove unused file. 2011-08-08 17:07:25 -04:00
lilydjwg
b1a9bae565 Add Python3 support 2011-07-30 17:07:25 +08:00
Steve Losh
deff7ccc23 Add autoload/ to the packaging script. 2011-07-29 09:39:45 -04:00
Steve Losh
51aa33d9fd Added tag v2.2.2 for changeset d6f98011d079 2011-06-28 16:59:38 -04:00
Steve Losh
7fbd418e7b Increment version. 2011-06-28 16:59:30 -04:00
Steve Losh
63ca27fa2a Formatting. 2011-06-28 16:58:00 -04:00
Kien N
52c65f2eb4 Move most of the script to autoload 2011-06-29 03:06:37 +07:00
Steve Losh
634756283a Added tag v2.2.1 for changeset c1cda256969c 2011-06-28 09:50:12 -04:00
Steve Losh
1728791051 Increment version. 2011-06-28 09:50:03 -04:00
xaizek
d7d01c3ef4 Move all python code to a separate file. 2011-06-27 23:59:53 +03:00
Steve Losh
adcf339466 Merge. 2011-06-14 09:40:59 -04:00
Steve Losh
c04af31f1d Typo. 2011-06-14 09:40:28 -04:00
Steve Losh
48ea154861 Add packaging script. 2011-05-27 10:59:29 -04:00
Steve Losh
47de8b1bf9 Added tag v2.2.0 for changeset d2406d0bce25 2011-05-27 10:51:54 -04:00
Steve Losh
8e6665e3b4 Increment version. 2011-05-27 10:51:50 -04:00
Steve Losh
32019def8f Merge pull request #12 from narfdotpl/cant-split-commits-into-separate-pull-requests-zomgwtfbbq
Fix window positions
2011-05-27 07:31:02 -07:00
Steve Losh
76e9bb5aea Merge pull request #10 from trcjr/develop
added gitignore with data from hgignore
2011-05-27 07:29:14 -07:00
Maciej Konieczny
fc9daff259 Fix window positions.
Graph and diff windows were swapped if user set `splitbelow` to 1:

    :set splitbelow    :set nosplitbelow

       +---+---+           +---+---+
       | D |   |           | G |   |
       +---+ S |           +---+ S |
       | G |   |           | D |   |
       +---+---+           +---+---+

     D - diff,  G - graph,  S - source

This commit fixes this -- now diff is displayed below graph regardless of
`splitbelow` setting.
2011-05-25 23:57:18 +02:00
Theodore Robert Campbell Jr
b4887f66eb added gitignore with data from hgignore 2011-05-15 12:45:43 -04:00
Steve Losh
584f1d52f8 Fix the default value for close_on_revert. 2011-05-09 21:10:50 -04:00
Steve Losh
65da6e46fd Make the testing symlinks relative. 2011-05-09 18:31:54 -04:00
Steve Losh
137b114adb Document the new close_on_revert setting. 2011-05-09 18:10:05 -04:00
Steve Losh
994ee7d948 Merge pull request #9 from pkoch/master
Add option to close gundo on revert.
2011-05-09 15:03:11 -07:00
Paulo Koch
7aaeebd88b Add option to close gundo on revert. 2011-05-05 02:54:44 +01:00
Steve Losh
e7a1ecf244 Update changelog. 2011-03-13 16:24:08 -04:00
Steve Losh
d714647186 Added tag v2.1.1 for changeset dc582486455b 2011-03-13 16:21:33 -04:00
Steve Losh
39b4016784 Fix the movement key mapping issue. 2011-03-13 16:21:22 -04:00
Steve Losh
f9bd145fd6 Fix a missing tag on the site. 2011-03-09 19:53:11 -05:00
Steve Losh
4bc2696209 Added tag v2.1.0 for changeset 7fb1c286cca3 2011-03-09 19:46:28 -05:00
Steve Losh
dd2f1cdfe8 Add the v2.1.0 changelog. 2011-03-09 19:46:23 -05:00
Steve Losh
810b22109d Merge. 2011-03-09 19:35:49 -05:00
Steve Losh
ff911e023d Add gundo_map_move_* to the site. 2011-03-09 19:35:42 -05:00
Steve Losh
6a6d5156b0 Update the publish script to add a pull first. 2011-03-09 19:35:17 -05:00
Steve Losh
cc5fd99ce3 Rearrange default settings and tweak some spacing. 2011-03-09 19:29:21 -05:00
Daniel Hahler
c44c0c0345 Defer warning about incompatible Python.
This uses the GundoDidNotLoad approach from 8de0b4ce47 also
for the "Gundo requires that Vim be compiled with Python 2.4+" error.

Also retab the original GundoDidNotLoad code block and fix the English.
2011-03-09 23:10:48 +01:00
Nathan Howell
2677c0a07f add remapping options for graph navigation keys 2011-02-27 15:53:34 -08:00
Seth Milliken
8de0b4ce47 defer "can't load gundo" warning
Only inform that gundo didn't load when an attempt is made to invoke it.
Too many hosts still don't have vim 7.3, but I'd like to do a straight
update of my vimfiles from my dvcs without needing any fiddly
conditionals in order to load vim without a warning message.
2010-12-29 15:16:33 -08:00