micro-editor / micro-editor/micro
Please make typing 'bind [keybind]' print the command it executes.
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
Description
I know this UI choice from Source Engine based games; when I was reading through the docs and couldn't figure out how to rebind a key that was already bound to something else, this choice not being a part of Micro frustrated me quite a bit.
You could check ~/.config/micros/bindings.json for binds the user set, but I couldn't find a list of default binds and their associated commands.
I would expect something like this:
> bind Ctrl-c
"Ctrl-c" = "copy"
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 locating the implementation and entry point for the bind command, then trace how user bindings from ~/.config/micros/bindings.json are resolved. Done means entering bind [keybind] prints the key and command it executes, including for existing bindings; verify the displayed format against the example in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100