emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature branches review please


From: Juri Linkov
Subject: Re: Feature branches review please
Date: Sun, 15 Nov 2020 22:12:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> > I expect to be able to move in vertical line, not only type letters.
>> > Feeling is rigid, I cannot move up and down with familiar keys likes C-n
>> > or C-p like I can do in ivy-mode or in helm
>>
>> With icomplete-mode, C-h m tells you that:
>>
>> C-, is icomplete-backward-completions
>> C-. is icomplete-forward-completions
>
> I am not used to those keys. When you are in M-x shell or in terminal,
> or in bash, or in eshell keys are C-p and C-n, those keys are
> everywhere. Of course I am not used to C-, and C-. even they could be
> popular, I have no idea.

In shell, C-p and C-n move through the history, not through completions.
Here's is an excerpt from the bash man page:

  previous-history (C-p)
    Fetch the previous command from the history list, moving back in the list.

  next-history (C-n)
    Fetch the next command from the history list, moving forward in the list.

Maybe icomplete could be more DWIM, and when completions are displayed,
then use [up] and [down] keys to move through completions, otherwise
move through the history when the minibuffer contents is empty.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]