3 ms·
> However, if you type w, the cursor will move to the end of the word while the anchor will move to its beginning, visually selecting the word Would be cool, b
by eviks 3y ago
> However, if you type w, the cursor will move to the end of the word while the anchor will move to its beginning, visually selecting the word
Would be cool, but all it does is move the cursor to the end, anchor remains in the middle of the word (if you start from the middle)
- lwhsiao 3y agoYou're right. One way to select a word from the middle in helix is `miw`.
- n8henrie 3y agoYes, I'm using `miwc` a lot (used to `ciw` in nvim)
- yonatan8070 3y agoYou can use `bw` or `be` to do that
- taeric 3y agoI'm amused, as I immediately think, "er/expand-region" covers this like a champ. Complete with C-g leaving the cursor where you started, if you change your mind.