# Scroll to undo/redo of Cursor Tab completion and Apply application

**URL:** <https://forum.cursor.com/t/scroll-to-undo-redo-of-cursor-tab-completion-and-apply-application/28703>\
**Category:** Feature Requests\
**Created:** [November 19, 2024, 6:03pm UTC](https://forum.cursor.com/t/scroll-to-undo-redo-of-cursor-tab-completion-and-apply-application/28703 "2024-11-19T18:03:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cur](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/cur/32/9480_2.png) [@cur](https://forum.cursor.com/u/cur)\
**Post date:** [November 19, 2024, 6:03pm UTC](https://forum.cursor.com/t/scroll-to-undo-redo-of-cursor-tab-completion-and-apply-application/28703/1 "2024-11-19T18:03:45Z")

</div>

# TLDR

This would bring Cursor code edits to parity with VS Code’s behavior when undoing/redoing a change.

# What I See

1. Accept a Cursor Tab completion (hit tab) OR accept/deny a Cursor Apply diff.
2. Scroll the editor.
3. Undo the change (hit Cmd + Z).
4. Notice that the view of the editor doesn’t change; the scrollbar stays where it is.

# What I Want

1. Notice that the view of the editor returns to the undone line; the scrollbar returns to where it was just before the change was accepted.

# Motivation

Often when I’m writing code in a large file, I scroll around to look at other parts of the code before returning to the line I’m editing. But how do I return to that line quickly? I can make a change: By typing a single character, the editor will scroll back to where I was. What if I want to return without making a change? Well, I can make two changes that net to zero: Cmd + Z followed by Cmd + Shift + Z—undo then redo.

This works if I’ve typed something before (i.e., almost always), but it does not work if my last action was a Cursor Tab completion. This feature would scroll the editor back to where I was upon undoing/redoing a Cursor Tab completion.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/127254_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [June 18, 2026, 10:19am UTC](https://forum.cursor.com/t/scroll-to-undo-redo-of-cursor-tab-completion-and-apply-application/28703/2 "2026-06-18T10:19:50Z")

</div>

Closed on June 18, 2026, 10:19am UTC


