I would like
counsel-M-x (part of
ivy) to display candidate commands horizontally, as
I followed the instructions here and created the following code:
(defun my-ivy-format-function (cands) (ivy--format-function-generic (lambda (str) (ivy--add-face str 'ivy-current-match)) #'identity cands " | ")) (add-to-list 'ivy-format-functions-alist '(counsel-M-x . my-ivy-format-function))
But this is still not perfect, as the left and right arrows in the keyboard do not move me through the candidates, and the prompt appears in a different line than the candidates.
Any ideas on how to perfectly replicate the behavior of