Add keybind to delete the current todo and all its children

i.e. in below case

image

I need a keybind that would kill the 2 rows (root and all the children)

I first thought Delete Rows would do it

but it only deleted the one row that was in focus (not all the children under it)

If you hit Escape key first, then delete, it will do what you want I think.

if i do it on this, i get

but I want this

how to exit of that green thing and still stay on the same bullet line

I can do this

but that seems bit off with amount of keybinds to achieve this

also it’s wrong as on this case

it would get me to this state

image

but I want

image

I need reliable way to just delete root + children and get me to edit state of empty new bullet point

I think the default behavior is the best default, but if you want custom behavior you can do it with a script. I think this script does what you want:

tell application "Bike"
	tell front document
		set type of selection row to body
		set name of selection row to ""
		delete entire contents of selection row
	end tell
end tell
1 Like

this is perfect, thanks

1 Like