micro-editor / micro-editor/micro

Please make typing 'bind [keybind]' print the command it executes.

Open
#4,153 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.