Closed y closed 12 years ago
Simple enough. Can you confirm if the same behavior should apply to U
and <C-R>
?
Yes, U and
Good deal. Thanks for the tip.
On Sat, Aug 18, 2012 at 11:51 AM, y notifications@github.com wrote:
Yes, U and should also reopen folds.
— Reply to this email directly or view it on GitHubhttps://github.com/tpope/vim-repeat/issues/9#issuecomment-7845590.
Because the repeat plugin remaps the 'u' command, foldopen no longer opens the fold when an undo happens in a closed fold. According to the help for foldopen:
So repeat should check if 'undo' is listed in 'foldopen' and if so, add the 'zv' command to the 'u' remapping.