micro-editor / micro-editor/micro

Error in bindings: action InsertSpace does not exist

Open
#2,448 0 comments 0 reactions 0 assignees View on GitHub

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 did mention this over two years ago, but seeing as this still annoys me, i'm creating this issue.

The following bindings.json:

{
    "Alt-d": "InsertSpace"
}

produces the following error.

Error in bindings: action InsertSpace does not exist

Press enter to continue

It did work before, but after an update, as mention in the comment linked above, it broke. InsertSpace is still listed in the documentation. PR #474 seems to touch on this.

Specifications

Version: 2.0.10
Commit hash: v2.0.10
Compiled on Unknown
OS: nixos 22-05
Terminal: putty

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 with the bindings.json example and the bindable-actions section in runtime/help/keybindings.md, then review PR #474 for related context. Trace how InsertSpace is documented versus recognized, and verify that the documented binding no longer produces the reported error or that the documentation matches the supported actions.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.