zsh-autocomplete: Show part of the completions list instead of "Too long list" message
Is your feature request related to a problem? Please describe.
Currently if there is not enough space on the terminal, then the message “Too long list” is displayed, which is not very informative.
Describe the solution you’d like
It would be great if at least part of the list was displayed, up to max-lines
with the message “Not all lines are shown. Down Arrow to expand” or something like that.
Describe alternatives you’ve considered
May be this feature should be optional, although it seems to me it would not bother anyone.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 31 (19 by maintainers)
Commits related to this issue
- List up to `max-lines` of completions If the list of completions is longer than `max-lines`, don't show a warning, but instead, trim the list of completions so it still fits within `max-lines`. If gr... — committed to marlonrichert/zsh-autocomplete by marlonrichert 4 years ago
- Always show `list-expand` hint, even w/out groups * Show the hint to press ⌃␣ even when group headers would otherwise not be shown. * Account for the presence or absence of a group header when calc... — committed to marlonrichert/zsh-autocomplete by marlonrichert 4 years ago
- Make default ⌃␣ behavior to expand list only * Make ⌃␣ do nothing else by default than expand a truncated list of completions. * Add notes to the Readme on how to make it do more. Related to issue #... — committed to marlonrichert/zsh-autocomplete by marlonrichert 4 years ago
- Account for extra completions in list length Make sure that the extra completions added by `zsh-autocomplete` itself don't push the list over the limit. Related to issue #109. — committed to marlonrichert/zsh-autocomplete by marlonrichert 4 years ago
- Mark `:autocomplete:list-choices:*` as deprecated Mentioned in issue #109. — committed to marlonrichert/zsh-autocomplete by marlonrichert 4 years ago
- Account for extra completions in list length Make sure that the extra completions added by `zsh-autocomplete` itself don't push the list over the limit. Related to issue #109. — committed to marlonrichert/zsh-autocomplete by marlonrichert 4 years ago
- Prevent Zsh compsys from prompting Prevent Zsh's completion system from asking "Do you wish to see all _X_ possibilities?" Mentioned in issue #109. — committed to marlonrichert/zsh-autocomplete by marlonrichert 4 years ago
- Set `$curcontext` iff null Mentioned in #109. — committed to marlonrichert/zsh-autocomplete by marlonrichert 4 years ago
- Preserve `compadd` options syntax This fixes the problem with file type colors mentioned in issue #109. `compadd` is apparently very sensitive to the order and formatting of options passed to it. — committed to marlonrichert/zsh-autocomplete by marlonrichert 4 years ago
- Fix bugs in list truncation logic Related to issue #109. — committed to marlonrichert/zsh-autocomplete by marlonrichert 4 years ago
- Adjust config to complement partial lists Related to issue #109. — committed to marlonrichert/zsh-autocomplete by marlonrichert 4 years ago
- Account for explanations & extras in `max-lines` Related to issue #109. — committed to marlonrichert/zsh-autocomplete by marlonrichert 4 years ago
Yes, I understand, and it’s a great plugin anyway 😃 Thank you!
Wow, it works! 🤩 Really cool, thank you! 😃