micro-editor / micro-editor/micro

Failed to bind ctrl-m

Open
#2,401 4 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

When adding keybindings with the Ctrl-m, it seems micro failed to phrase to execute:

 ~/.config/micro/bindings.json
Ctrl-m": "Quit"

Checked the keybindings document, this one should get supported. But the behavior here, is it would failed to run as expected.

Maybe there's some hard-coded sutff causing this?

Specifications

Commit hash:dd69599f376ce3f0918a2c4d173d708fb67fe0ec
(Both latest master branch, and latest stable version 2.0.10, having this issue)

OS: Debian bullseye
Terminal: Kitty

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

Reproduce the issue with the shown ~/.config/micro/bindings.json entry on Debian bullseye and Kitty, then read runtime/help/keybindings.md to compare the documented Ctrl-m syntax with the observed behavior. Trace how Ctrl-m is parsed and handled, and consider the issue done when the binding executes as documented with a regression test.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.