-
Notifications
You must be signed in to change notification settings - Fork 250
Indent operations preceded by a number should indent multiple times in visual mode. #798
Conversation
Could you add a small test for this, or modify an existing test so that it supplies a count? |
Sure. Do you have an automated way to run all the spec files? |
Yeah, you can run the |
9d96a8b
to
062be87
Compare
* `<<` - outdent current line one level | ||
* `<2<` - repeated linewise | ||
* `2<<` - repeat outdent operation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried it and in normal mode >2>
behaves the same as 2>>
- indenting two lines once; that's consistent with VIM. The docs above seem to imply this PR was introducing a difference there - is it?
062be87
to
36075c3
Compare
Thanks for the help @jacekkopecky. Should be fixed now. |
I had the same misconception as Jacek. Just making sure, this PR:
Merged to vim-mode-next, looking good. |
Right. I should have made that more clear. |
👍 Thanks @mleeds95! Nice work. |
Indent operations preceded by a number should indent multiple times in visual mode.
Preceding '>' with a number didn't indent lines multiple times, but this fixes that.