micro-editor / micro-editor/micro
Deselect action
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
I'm prepending 'Deselect' action to esc binding chain-of-actions.
Even though 'Deselect' action is not documented. Like this:
"Esc": "Deselect|UnhighlightSearch|RemoveAllMultiCursors|Escape",
I'd suggest we add this to the documentation, if you're OK with this.
Should we take the opportunity to change
https://github.com/zyedidia/micro/blob/master/internal/action/actions.go#L1523
as bellow, according to PR 2395?
h.Cursor.Deselect(buffer.ResetLocationDefault)
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
Start by reading the Deselect action and its surrounding code in internal/action/actions.go near line 1523, then compare the suggested change with PR 2395. Check how the Esc chain uses Deselect and identify where actions are documented. Done means the supported Deselect action and its behavior are accurately documented, with the related code change resolved if still needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100