I have read the prefix has to be added after running helm-m-x, but I don't know how to do it.

For example I want to pass an argument to shell. When I run helm-m-x and then C-u I see in the mode-line [prefarg:4]. On the next key press there will be 4 occurrences of the key instead of only the first one.

How can I do this?

1 Answer 1


helm-M-x is arguably unusual in this aspect. You first invoke it, type until you've picked the command you want to execute, then add the prefix argument by pressing C-u.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.