As explained in #143 (which was a PR for #99), 'yank-pop' only works when the previous widget has the ZLE_YANK flag, which means wrapping the 'yank' widget breaks the 'yank-pop' widget (makes it a no-op). However, that is a reason against wrapping the 'yank' widget, but not against wrapping the 'yank-pop' widget. Indeed, if 'yank-pop' is wrapped but 'yank' isn't, then yank-pop functions correctly and updates highlighting properly. To unbreak yank-pop, either 'yank' should be excluded from wrapping, or one of the fixes mentioned on issue #183 should be applied.
10 KiB
10 KiB