Replies: 1 comment 2 replies
-
Hmm... It does for me with plain indentscope-expand.mp4 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As I learn more and more vim, I've recently discovered that I'm able to enter visual selection mode, enter a text object such as
ap
to select a paragraph, and then pressap
again to expand the selection to include another paragraph, and I can repeat that as many times as I want. What do others do if they want to expand their initial selection to the next outer indent scope?For example, with this block of code, if I press
Vai
while my cursor is on the "if" on line 118, then lines 116 to 119 are selected as expected. But if I want to expand that selection, I, perhaps naively, expected that a secondai
would do so. I do know, however, that while still in visual selection mode, I could type2ai
to select the 2nd level scope, which achieves the same, but curious why another bareai
would not do so as well?Beta Was this translation helpful? Give feedback.
All reactions