Quick way to split a selection into start & end? #10722
Unanswered
lukasjuhrich
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Hm... my first try would be to select the area with |
Beta Was this translation helpful? Give feedback.
2 replies
-
This was sort of a regression introduced when we switched to regex-cursor. See #9422 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I often see myself trying to change surrounding spaces to surrounding newlines, e.g. when wanting to change
Lorem ipsum $ x + y = z $ dolor sit amet
to
Currently, I use tree-sitter to select up until the inside of the $$ block, and then surround this block with a newline (
m s <ret>
). However, this does not trigger any alignment.Is there an idiomatic way to split a given selection
$| x + y = z |$
into the start and end positions, so I can justi <ret>
on both newly created selections and get the proper alignment?Beta Was this translation helpful? Give feedback.
All reactions