Move keyframes in time, Move a layer duration bar but not its keyframes – Adobe After Effects User Manual
Page 223

Move keyframes in time
You can move keyframes in time, either individually or as a group.
Jeff Almasol provides a versatile script on his
that creates a panel with controls for moving various combinations of items in time
—layer In point, layer Out point, layer source frames, keyframes, and markers.
Move keyframes to another time
With multiple keyframes selected, you can copy or delete them simultaneously or move the keyframes together without changing their positions
relative to each other.
1. Select one or more keyframes.
2. Drag any of the selected keyframe icons to the desired time. If you selected multiple keyframes, then all of the selected keyframes maintain
their relative distance from the keyframe that you drag.
You can also move selected keyframes in time (one frame earlier or later) by pressing the Alt (Windows) or Option (Mac OS) key with the left
arrow or right arrow key.
Move a keyframe to a specific time
1. Move the current-time indicator to the desired time.
2. Do one of the following:
In layer bar mode, hold down Shift after you begin to drag a keyframe icon to the current-time indicator.
In Graph Editor mode, drag a keyframe to the current-time indicator.
When you drag over the current-time indicator, the keyframe snaps to the current-time indicator.
Expand or contract a group of keyframes in layer bar mode
1. Select at least three keyframes.
2. Hold down Alt (Windows) or Option (Mac OS) and drag the first or last selected keyframe to the desired time.
Move a layer duration bar but not its keyframes
1. Place a composition marker at the time at which the first keyframe appears. (See Composition markers.)
2. In the layer outline, click the name of one or more layer properties containing the keyframes you want to keep at the same times.
3. Choose Edit > Cut.
4. Move or stretch the layer duration bar to its new In and Out points.
219