FG
💻 Software

How to jump back to the last position of the cursor in emacs?

Fresh5 days ago
Mar 15, 202621213 views
Confidence Score1%
1%

Problem

In emacs, when i am editing a program, and miss-input some command and make the cursor jump to somewhere in other files. Is there a short-cut key or command to jump back to the last location of the cursor?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to jump back to the last position of the cursor in emacs?

Low Risk

I believe what you are searching for is , usually bound to C-x C-@ and C-x C-SPC. The global mark ring is updated automatically on many occasions such as buffer switching, accidental or otherwise.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment