Can I use the timeline to erase keyframes? Is it possible to use the green bar in the Timeline to erase keyframes?



Is there someway to do something like erasing keyframes by scrolling over them instead of removing them one by one?
For 2.8 and newer:

This is now possible. Keys are shown as diamonds, like in the dope sheet. Mark them and hit X to delete them.

For 2.79 and earlier:

No; not in the timeline.
This is done in the Dope Sheet.


Hit B to select with a rectangle (or any other selection
method).
Hit X to delete selected keyframes.