Replies: 10 comments
-
I have thought about this in the past. Both way seemed to work for me. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure I follow why that's undesirable. That's how most commands behave: the number prefix is simply a repeat count.
But isn't that what |
Beta Was this translation helpful? Give feedback.
-
The Kakoune behavior could be described as "Always Be Selecting". 2w selects the next two words--the movement of the cursor is a side effect. I find that if the highlighted selection is too broad or want to reset it, I just click Space, and the anchor snaps back to the cursor in its current position (in Kakoune). When I use |
Beta Was this translation helpful? Give feedback.
-
kak:
I think you can I also wondered if |
Beta Was this translation helpful? Give feedback.
-
For what it's worth, I map I basically think of |
Beta Was this translation helpful? Give feedback.
-
On second thought, I suppose the way it works now is actually fine. |
Beta Was this translation helpful? Give feedback.
-
I realized I find this useful now, can we reopen it? I find myself pressing v way more than ;, almost had to press v every time, sometimes I know the count, I wish if I press the count it will select all the way from current position (not extending) so I can perform an action on this. The behavior will be similar to current |
Beta Was this translation helpful? Give feedback.
-
I'd be willing to trial this if there's a branch somewhere I can pull down. |
Beta Was this translation helpful? Give feedback.
-
@EpocSquadron there's #1570 open now. |
Beta Was this translation helpful? Give feedback.
-
It would be cool if {count}k or {count}j could select count+1 lines upwards or downwards. Then things like vim's d5k is just 5kd instead of the current awkward v5kXd |
Beta Was this translation helpful? Give feedback.
-
Currently, using a count for a motion, such as
2w
will behave exactly the same selection-wise as pressingw
twice. I think this should be changed so that using a count for a motion will select the text traversed by all repetitions of the motion; so2w
will behave likev2w
. This would allow for operations like2wd
as a counterpart tod2w
in Vim.Beta Was this translation helpful? Give feedback.
All reactions