You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the cursor is on the rightmost delimiter (tested on ) and }), mim and mam do not work if you are at the top level or the block one level bigger than the current delimiter is selected.
In all cases, I expect mim to do the same than mmmim, likewise for mam and mmmam.
} or the closing parenthesis of foo() => nothing is selected
the closing parenthesis of bar("xxx") => all the text inside {} is selected
the closing double quote => xxx" is selected, the cursor is incorrectly on the rightmost "
mam does, if the cursor is initially on:
} or the closing parenthesis of foo() => nothing is selected
the closing parenthesis of bar("xxx") => all the text inside {} is selected (and the cursor is on } + the newline and } (and the cursor is on the } (note that the opening { is not selected)
the closing double quote => "xxx") is selected, the cursor is incorrectly on the rightmost )
Helix log
No response
Platform
linux
Terminal Emulator
zelij inside wezterm
Installation Method
source
Helix Version
24.07-326-gce133a28
The text was updated successfully, but these errors were encountered:
Summary
When the cursor is on the rightmost delimiter (tested on
)
and}
),mim
andmam
do not work if you are at the top level or the block one level bigger than the current delimiter is selected.In all cases, I expect
mim
to do the same thanmmmim
, likewise formam
andmmmam
.Note: It feels very similar with #11813
Reproduction Steps
Assuming you have this text in your buffer:
mim
does, if the cursor is initially on:}
or the closing parenthesis offoo()
=> nothing is selectedbar("xxx")
=> all the text inside{}
is selectedxxx"
is selected, the cursor is incorrectly on the rightmost"
mam
does, if the cursor is initially on:}
or the closing parenthesis offoo()
=> nothing is selectedbar("xxx")
=> all the text inside{}
is selected (and the cursor is on}
+ the newline and}
(and the cursor is on the}
(note that the opening{
is not selected)"xxx")
is selected, the cursor is incorrectly on the rightmost)
Helix log
No response
Platform
linux
Terminal Emulator
zelij inside wezterm
Installation Method
source
Helix Version
24.07-326-gce133a28
The text was updated successfully, but these errors were encountered: