I did a project-wide find-and-replace for a set of words using the relatively recent :cdo. My workflow was as follows.:Ack pattern:cdo %s/foo/bar/ge | updateI ran this repeatedly for a few different pattern replacements across 30 or so large files. Now, I find myself in a situation wherein I need to revert those changes in those files. The undotree only shows the current buffer.  I know that I can just run the same thing substituting the replaced words with the original. However, it's really hard to remember what stuff was replaced, especially when it happened long time ago or over multiple vim sessions. I am working on a highly fluidic project wherein the variablenames and other stuff keeps changing quite often.My question is, is there an undo and redo tree or a plugin for the above scenario (not just quickfix window, but after the writes have been performed), something in the spirit of :cfundo ?
Any Ex command in the spirit of ':cfundo' - i.e. reversing the effects of ':cdo piped to update'
replace;multiple files;quickfix;undo redo;vimgrep