Aster89/WinZoZ

Pressing d in winzoz mode errors with E388

Closed this issue · 1 comments

This is a consequence of the fact that Ctrl-Wd does not exist in Vim, so it's ok, per se.

The point is that since the error happens from within winzoz mode, it is quite long and requires user interaction before the user goes on:

Error detected while processing function winzoz#goZoZ[19]..function winzoz#goZoZ:
line   10:
E388: Could not find definition
Press ENTER or type command to continue

Maybe I should try-catch the error so that I can echo a oneline error just like Ctrl-Wd does.

Actually there's Ctrl-wd command, see :help CTRL-W_CTRL-D. (I'm pretty sure the repro above was accurate, but maybe this thing has been added to Vim only recently. Can't bother verifiying.)