这是indexloc提供的服务,不要输入任何密码
Skip to content

How to disable counsel-M-x or restore default M-x? #2985

@ZelphirKaltstahl

Description

@ZelphirKaltstahl

I recently installed counsel and I like what it is doing, but I got a problem with it:

Usually, when I typed a command in the M-x minibuffer, like mag-log short for magit-log, it would choose the shortest match. With counsel however, it does not and does some other magit function, which I don't know and am not used to. To fix this, I have to type out the whole function name magit-log and cannot use my usual shortcuts of typing less characters. This has only annoyed me with M-x and not with counsel-find-file or other use cases so far.

For this reason, I would like to configure counsel, so that it does not override what function M-x calls, but leave it as is, or restore the normal M-x function, after counsel is loaded.

How can I do that?

(Alternatively, I would like to change the sort order, so that the shortest matching command is preferred again.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions