-
Great work on Meow! I've been really impressed with trying it out so far. There's one thing I haven't been able to do, and I'm not sure if I'm just missing how to do it, or if it's not possible. Suppose I have the following JS code: const foo = bar({
one,
two,
three
}); My cursor is on Now, I'd like to expand the selection backward by one word, so I want to add Is there a way to do this in Meow? I've used Vim/Evil for a while so I'm used to that style of modal editing, but I'm new to the Meow style, so it's possible I'm missing something, or thinking about it in the wrong way. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hello, @ktfleming Here is my suggestion:
There is another way to achieve the same effect:
The developer may have better solutions, so stay tuned. |
Beta Was this translation helpful? Give feedback.
Hello, @ktfleming
Here is my suggestion:
After you've selected all the parentheses and its included content:
;
(meow-reverse
) to move your cursor to the beginning of the selectionShift
+h
to activatemeow-left-expand
, then just pressh
to select a single char each time.There is another way to achieve the same effect:
Shift
+o
Done!
The uppercase
O
relates tomeow-to-block
command. It will select from your current position all the way to the first block (inclusive) it hits.The developer may have better solutions, so stay tuned.