Press Alt+R (option+R on macOS) or click on the Ripple timeline markers with edits button on the Timeline toolbar to have the timeline markers shift according to the direction that the clips are dragged to in the timeline. Also works in conjunction with either or both of the other two ripple functions (Ripple trim and drop and Ripple edits across all tracks). Press Alt+Shift+R (option+Shift+R on macOS) to turn on and off all three ripple icons at the same time.