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
Idea is to have a mapping like find_till_char but that skips delimited groups. I.e. he[l]lo(){ h; c;}; Something else invoking find_till_char_skip_groups ; should end up with he[llo(){ h; c;};] Something else.
What groups are could be an issue, but I think something reasonable would be (), [], {} most over delimiters could have different behaviors in some languages (e.g., || or <> or ").
Alternatively, it might be possible to use treesitter.
This discussion was converted from issue #8376 on April 14, 2024 01:16.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Idea is to have a mapping like
find_till_char
but that skips delimited groups. I.e.he[l]lo(){ h; c;}; Something else
invokingfind_till_char_skip_groups ;
should end up withhe[llo(){ h; c;};] Something else
.What groups are could be an issue, but I think something reasonable would be
(), [], {}
most over delimiters could have different behaviors in some languages (e.g.,||
or<>
or"
).Alternatively, it might be possible to use treesitter.
Beta Was this translation helpful? Give feedback.
All reactions