zyedidia / micro

A modern and intuitive terminal-based text editor
https://micro-editor.github.io
MIT License
24.37k stars 1.16k forks source link

Confusion over missing bindings #3314

Open Atemo-C opened 1 month ago

Atemo-C commented 1 month ago

Issue

Whilst configuring bindings in $HOME/.config/micro/bindings.json, I encountered the following error:

Error in bindings: action InsertSpace does not exist

Confusion

This was strange to me, as the documentation for key bindings clearly states the existence of an InsertSpace value as a bindable key. It seems as though this list is currently not only incomplete, but also has some wrong values that have stuck there for years, notably the presence of InsertSpace.

Related issues and pull request

This has led me to stumble upon various issues and a pull request, none of which having been addressed for a few years at this point. Notably, these:

Why make this issue?

This can be marked as duplicate, but I feel as though bringing everything in a single place and putting some more recent attention to the issue may be for the best at this point in time. The relevant open issues are still open to be addresses individually, if needs be.

Possible fixes