cursorless-dev / cursorless

Don't let the cursor slow you down
https://www.cursorless.org/
MIT License
1.09k stars 77 forks source link

"chuck section" in markdown doesn't remove the trailing lines #2378

Open saidelike opened 1 month ago

saidelike commented 1 month ago

with this markdown text originally:

# hello

this is a text

# title 2

this is another text

saying chuck section row one, we get:


# title 2

this is another text

notice the 2 spaces above title 2. NOTE: the same result happens when saying change section row one.

saying chuck section row one, I would expect it to delete the trailing lines, similarly to deleting a function on some language like Python

# title 2

this is another text
pokey commented 1 month ago

Can't decide whether this one warrants its own issue. See https://github.com/cursorless-dev/cursorless/issues/855#issuecomment-1187590122