Commit Graph

56 Commits

Author SHA1 Message Date
Steve Losh
6a6f6cfff7 Refactor the preview render calls a bit. 2010-10-29 09:49:33 -04:00
Steve Losh
67c26ded75 Remove obsolete TODO. 2010-10-29 09:48:47 -04:00
Steve Losh
a4798311dc Use bufloaded() instead of bufname() as a sanity check. 2010-10-29 09:47:46 -04:00
Steve Losh
50c2ef56d3 Merge. 2010-10-28 20:42:03 -04:00
Steve Losh
c085ec1451 Add some sanity checks, fix some bugs.
Sorry about the bad commit message.
2010-10-28 20:16:09 -04:00
Randy Morris
3f7226297d Add g:gundo_preview_bottom option 2010-10-27 19:09:02 -04:00
Steve Losh
d16683449c Factor out the "get target state" functionality into its own function. 2010-10-20 21:34:49 -04:00
Steve Losh
0502b8ae47 Set the correct foldmethod for the preview pane. 2010-10-20 21:34:18 -04:00
Steve Losh
eb6fc83f02 Add mouse support and rearrange some functions. 2010-10-20 21:23:21 -04:00
Steve Losh
cc806d3f35 Add a configuration var to open Gundo on the right.
You people are insane.
2010-10-20 19:51:09 -04:00
Steve Losh
af4b6e67b9 Make the preview pane's height configurable. 2010-10-20 19:46:37 -04:00
Steve Losh
a2bc33b076 Rename a few functions. 2010-10-20 19:43:22 -04:00
Steve Losh
6ae682e462 Add some preview buffer mappings and move the settings functions.
fixes issue 11
2010-10-20 19:35:33 -04:00
Steve Losh
ae7143b3ce Add folding markers. Sometimes I hate Vim. 2010-10-20 19:29:43 -04:00
Steve Losh
e4b1fff8c5 Fix section header capitalization. 2010-10-20 19:14:38 -04:00
Steve Losh
3112626d7f Factor out the buffer mappings into functions. 2010-10-20 19:12:32 -04:00
Steve Losh
68b2f953df Map :q and :quit to close the gundo pane when you are in it.
fixes issue 10
2010-10-20 19:04:50 -04:00
Steve Losh
d92ceb5242 Edit section header. 2010-10-20 19:03:35 -04:00
Steve Losh
e98bb9d6de Check for Vim 7.3+.
fixes issue 13
2010-10-20 18:55:09 -04:00
Steve Losh
7461384593 Unfold everything before starting playback.
fixes issue 9
2010-10-20 18:43:43 -04:00
Steve Losh
011f902ac7 Add a g:gundo_debug flag to disable the loading trap to keep my sanity. 2010-10-20 18:43:15 -04:00
Steve Losh
ae996744a5 Fix things when you've maxed out your undolevels.
This sure is ugly, but it's the only efficient way I can find to do it.

fixes issue 12
2010-10-20 18:33:48 -04:00
Caleb Spare
35e49c82d2 Changed gundo buffers to be unlisted. 2010-10-19 18:21:28 -07:00
claytron
7f2ce0ffeb update the version comparison to reflect Python 2.4 compatibility 2010-10-19 15:59:39 -04:00
Steve Losh
2a12b4883f Uncomment the loaded trap. 2010-10-19 14:57:45 -04:00
Steve Losh
ca682f6f9e Merge. 2010-10-19 14:57:02 -04:00
claytron
4b01e7a4c7 Emit a warning when there is no Python support, or unsupported Python version 2010-10-19 14:35:07 -04:00
Vincent Driessen
a217cebb3a Add Python 2.4 compatibility. 2010-10-19 09:37:54 +02:00
Steve Losh
f15e7eab8c Unfold diff previews by default. 2010-10-18 10:37:40 -04:00
Steve Losh
6dc4627f73 Fix a pile of bugs by showing the root node in the graph. 2010-10-17 15:02:33 -04:00
Steve Losh
18068eb250 Map "q" to close the graph. 2010-10-15 18:20:53 -04:00
Steve Losh
4e76e0e8ff Fix the pane opening. 2010-10-13 15:26:49 -04:00
Steve Losh
8e4432a73f Put the preview page below the graph instead. 2010-10-13 15:19:20 -04:00
Steve Losh
9514fd457e Add a sanity check in case someone closes the preview window. 2010-10-12 22:35:16 -04:00
Steve Losh
f2f847d973 Add a node mapping to get rid of some nastiness. 2010-10-12 22:33:06 -04:00
Steve Losh
b8ea3bd823 Add timestamps to the diff previews. 2010-10-12 22:23:38 -04:00
Steve Losh
bc10779c9e Add a PlayTo function for the lols. 2010-10-12 20:20:37 -04:00
Steve Losh
c68588f21a Fix typo. 2010-10-12 19:24:16 -04:00
Steve Losh
b00fdf08bc Refactor a tiny bit and add some TODOs. 2010-10-12 19:22:02 -04:00
Steve Losh
5c1bc7dfe9 Refactor the movement into a single function. Feels good man. 2010-10-12 19:06:02 -04:00
Steve Losh
d64027b080 Fix in-between line movement. 2010-10-12 18:48:47 -04:00
Steve Losh
95d53c5b3f Fix movement bounds in the graph pane. 2010-10-12 18:44:51 -04:00
Steve Losh
80ef17d623 Wrap Python functions, fix last diff. 2010-10-12 18:36:02 -04:00
Steve Losh
82678cbdeb Hello there, preview pane. 2010-10-09 11:47:09 -04:00
Steve Losh
6d1f8fb3c7 Rename a confusing variable. 2010-10-09 11:14:18 -04:00
Steve Losh
d95f2b5f25 Refactor changenr() 2010-10-09 11:13:06 -04:00
Steve Losh
fc4de8bfaa Restructure everything and add fold markers before I go insane. 2010-10-09 11:09:26 -04:00
Steve Losh
c411f724f6 Fix up and down. 2010-10-09 09:38:04 -04:00
Steve Losh
882519aaef Syntax highlighting! 2010-10-09 09:00:41 -04:00
Steve Losh
33bb1503b7 Moar. Done for now. 2010-10-08 22:10:04 -04:00