top | item 45747093

(no title)

icen | 4 months ago

In helix that's %d (select-buffer, then delete). The selection-then-action design for helix is showing it's difference to vi, which is action-on-movement.

discuss

order

tux1968|4 months ago

But Vim has visual-mode, which is select-then-action too.

dugidugout|4 months ago

There's a mode for that!

eviks|4 months ago

not really, vim's visual mode always extends selection, while in Helix the base mode selects with your base commands so you can act on the selection, but it doesn't extend to the next one. For example, moving by 2 words only selects the 2nd one, not both like in Visual mode. (although in this specific case of selecting everything this difference isn't visible)