When 'splitright' is set and you are diffing two different states, the window layout is wrong. https://github.com/chrisbra/histwin/issues/2 (reported by bootleq, thanks!)
- Enable storing the tags as Dicionary in .viminfo (this might not work as expected, cause we are storing a nested Dictionary) - Show a diff in the preview window when pressing P (or on autocommand CursorHold if enabled) - a little bit code cleanup (as always ;)) - correctly catch E830 and give an error message (reported by D. Fishburn)
Previously, the list that was returned by undotree() wasn't sorted so that possibly not the first entry was tagged "Start Editing". So make sure, the list is sorted and really tag only the first entry "Start Editing".
When closing the histwin buffer using :q, the original buffer might stay in nomodifiable state. Fix that. (reported by Dave Doran)
This was caused by the fact, that from 7.3.005 histwin uses the undotree() function, which does not reliably work before 7.3.005 and so for older Vim versions histwin parses internally the :undolist command. Unfortunally this would could an error for buffers, that do not contain undo history (such as newly created buffers). That should be fixed now and therefore, this is release 0.16
Fixed bug when no undo-tree was available (partly by Ben Boeckel) More error handling (when the cursor is not on a list item) Commenting out the entry to store the histdict in a global variable, that should be written to the .viminfo file (but is not yet supported by plain vim)
-1 don't try to create a global dictionary, containing all the custom undo tags - don't call ReturnHistWin() with the bufnumber. This isn't used anyway.
- don't fix the width of the histwin window - now use the undotree() function by default (if patch 7.3.005 is included) - display save states in the detailed view - display the '!' when a state is not accessible anymore - fixed an annoying bug, that when jumping to a particular undo state, the plugin would jump to the wrong state (I hate octal mode) - Make displaying the time much more reliable and also don't display the time, if the change happened more than 24h ago (instead, display the date, when this change was done). - slightly improved error handling. - prepare plugin, to permantly store the undotags in the viminfo file (this isn't supported by a plain vanilla vim and requires a patch) - A major rewrite (code cleanup, better documentation)
- New version that uses Vim 7.3 persistent undo features |new-persistent-undo| - Display saved counter in detailed view - Display indicator for saved branches. - in diff mode, don't set the original buffer to be nomodifiable (so you can always merge chunks). - Check for Vim Version 7.3 (the plugin won't work with older versions of Vim)