When I perform multiple shift
:> operations, vim shows me a notification for each line that's shifted. Is there a way to avoid these multiple notifications?
For example, I'm currently editing a file that's about 200,000 lines long. About 99% of the lines contain the pattern "4111". (The specific numbers and string aren't important.) I want to shift all the lines containing "4111" to the right using the
When I type:
I get a notification for each affected line:
1 line >ed 1 time 1 line >ed 1 time 1 line >ed 1 time 1 line >ed 1 time 1 line >ed 1 time ...
I would have to type <space> several thousand times to dismiss all the notifications.
By contrast, if I instead use a substitution command to achieve the same effect:
set shiftwidth=4) it performs all the substitutions in a couple of seconds and prints:
208295 substitutions on 208295 lines
As you can see I have a workaround, but is there a way to use the
:> command on multiple lines and not have to dismiss notifications for each affected line?
I see this problem with vim 8.2 and 9.0. I've seen it before with other versions. (I think it's a bug in vim, which I'll report after getting some feedback here.)