micro-editor / micro-editor/micro
feature request : ability to navigate to previous position
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
Description of the problem or steps to reproduce
I am editing one file (or simply stay there for a while) at a certain line
Then I jump either in the same file (maybe through search, or mouse) or in a different file /atb ...
I would like to go back to the previous position. There is no action I can bind that offer that currently.
Ideally we would have the following :
- goBackInViewLocationHistory // this would let me go back to where I was looking
- goForwardInViewLocationHistory // this would let me go back to my present location
- goBackInEditLocationHistory // this would let me go back to where I was making my previous edit
- goForwardInEditLocationHistory // this would let me go back to my latest edit
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the editor's existing navigation and action-handling code, then determine how view and edit positions could be tracked and exposed as backward and forward actions; done means all four requested actions work across jumps and edits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100