0

I am enabling icomplete-vertical and having difficulties about how to use it.

With the standard icomplete, I get the list of possible completions in the minibuffer and can navigate between the different completions with C-, and C-.

What is the procedure to navigate the completion possibilities with icomplete-vertical?

1 Answer 1

0

See C-h v icomplete-vertical-mode-minibuffer-map RET:

(defvar icomplete-vertical-mode-minibuffer-map
  (let ((map (make-sparse-keymap)))
    (define-key map (kbd "C-n")    #'icomplete-forward-completions)
    (define-key map (kbd "C-p")    #'icomplete-backward-completions)
    (define-key map (kbd "<down>") #'icomplete-forward-completions)
    (define-key map (kbd "<up>")   #'icomplete-backward-completions)
    (define-key map (kbd "M-<")    #'icomplete-vertical-goto-first)
    (define-key map (kbd "M->")    #'icomplete-vertical-goto-last)
    map)
  "Keymap used by `icomplete-vertical-mode' in the minibuffer.")

So, by default, either C-n and C-p or <down> and <up>.

2
  • I cannot see icomplete-vertical-mode-minibuffer-map. I am using Version 0.3
    – Dilna
    Aug 24, 2022 at 9:59
  • I think that there is icomplete-vertical-mode in Emacs 28. I am using Emacs 27.2
    – Dilna
    Aug 24, 2022 at 10:16

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.