5

I'm using Prelude. When I press M-x, I get helm-M-x. Recently I've used query-replace-regexp. Now when I type "replace-regexp", it automatically reaches for element in my history. There is separate section for commands below, where my beloved replace-regexp is, but I don't know how to reach it. How can I get in there and use the command I want to?

nanny
  • 5,756
  • 1
  • 20
  • 38
MatthewRock
  • 1,483
  • 13
  • 28

2 Answers2

7

You can use C-n (helm-next-line) to move line-wise or C-o/<right> (helm-next-source) to move source-wise.

See the Basic Usage section of the Helm guide for more info:

Once you are in the helm session (of helm-M-x or any one else) you can hit either C-h m or C-c ?, the former is will popup a general info buffer about helm while the second will popup a specialized info of the current source you are into.

C-h m will give you a nice basic hotkey table and plenty of more info.

nanny
  • 5,756
  • 1
  • 20
  • 38
  • 2
    Per the Helm M-x help "Helm's basic operation and default keybindings" table: Although 'C-odoes work,C-ndoes *not* do what the OP requested, but cycles back around to top of command history.` is not defined by default. – Chip Grandits Oct 06 '19 at 16:51
0

I had this problem until I noticed that I had helm-move-to-line-cycle-in-source set to t. I set it to nil and this problem vanished.

Tom Ellis
  • 101
  • 2