Hotkey "jump to previous caret position"

Use case or problem

When editing I sometimes want to return to one of last editing positions to do the change. Pressing hotkey is much easier than visually searching for the location and maybe scrolling in possibly long document.

Proposed solution

Something to cycle back and forth in the list of previous cursor positions would be ideal.
(source: Vim: Move cursor to its last position - Stack Overflow)

For example in EmEditor I have assigned hotkeys “Ctrl+,” and “Ctrl+.” to commands “Edit:Back” and “Edit:Forward”

Works also elsewhere:

Additionally pressing this hotkey in search could return the focus to note-pane which would solve FR: hit Esc to return from 'Search in files' tab back to previously active tab

Current workaround

Related feature requests


Edit 2023-05-07:
“Navigate Cursor History” plugin solves this feature request.
Github link: GitHub - heycalmdown/navigate-cursor-history
I am using it with hotkeys Ctrl+, and Ctrl+.

8 Likes

I agree. This would be useful

“Navigate Cursor History” community plugin is what you are looking for. It tracks the cursor history and provides a shortcut for jumping back and forth.

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.