You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'd really like to be able to make nested loops in V. Would it be possible to add this functionality sometime? so like ò{big loop ò{ loop for each big loop ò} still big loop ò} maybe add a "close loop" character for ò and ñ.
The text was updated successfully, but these errors were encountered:
Hmm. I like this idea in concept. It's actually something I've given quite a bit of thought to before. But there are some issues that would need to be figured out first.
Right now, both <M-r> (ò) and <M-q>(ñ) record into register 'q'. So 4ñ<code>ñ is equivalent to qq<code>q3@q. If we allowed nested loops, we'd have to figure out which registers they're going into.
Both looping commands rely heavily on the ability to break the loop early, for example by performing an invalid :s/ command or using hjkl to attempt to move out of bounds. What should happen when an inner loop breaks? Right now that would break the outer loop too, but it seems like that would limit usefulness.
Hi, I'd really like to be able to make nested loops in V. Would it be possible to add this functionality sometime? so like ò{big loop ò{ loop for each big loop ò} still big loop ò} maybe add a "close loop" character for ò and ñ.
The text was updated successfully, but these errors were encountered: