List more bindable actions in help keybindings by Andriamanitra · Pull Request #3685 · micro-editor/micro (original) (raw)

Conversation

@Andriamanitra

continued from #3124 (I found it easier to make a new pull request than try to resolve conflicts)

@JoeKar wrote:

But it still doesn't really fit to the content of bufpane.go#L686 or am I overlooking something (108 vs 112 entries)? Additionally it would be easier to maintain when we stick to the same order in both lists, then it can simply being diffed.

The actions should now match the code (including the order).

@Andriamanitra

JoeKar

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it is easy to diff. 👍

What do you think, shall we sort them in alphabetical order (doc & code)?

@Andriamanitra

What do you think, shall we sort them in alphabetical order (doc & code)?

While that would make the list easier to skim (especially in the docs) I'm leaning towards no because that would separate closely related actions like VSplit/HSplit, StartOfLine/EndOfLine, PreviousTab/NextTab, etc.

@JoeKar

Ok, good point. Then we leave it as is.

theredcmdcraft pushed a commit to theredcmdcraft/micro that referenced this pull request

May 27, 2025

@Andriamanitra @theredcmdcraft

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

2 participants

@Andriamanitra @JoeKar