From: Marlon Richert <marlon.richert@gmail.com>
To: zsh-users@zsh.org
Subject: How to make completion menu select navigation not wrap around?
Date: Sat, 4 Apr 2020 18:06:03 +0300 [thread overview]
Message-ID: <CAHLkEDs4J5C5Vud7wvWxLhPJTZ293h+AYmeM8GCAVJ0J5ot5kA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 468 bytes --]
When using arrow keys to navigate the completion menu, I do not want it to
wrap around (to the bottom row) when I press the up arrow key when I’m on
the top row of the menu. Instead, I want to go back to the command line.
Is there a zstyle to turn off menu wrapping? Or inside a widget function,
is there a parameter or function I can query to tell if the menu is open
and which line we’re on (so that I can then `send-break` instead of doing
`up-line`)?
next reply other threads:[~2020-04-04 15:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-04 15:06 Marlon Richert [this message]
2020-06-06 5:37 ` Daniel Shahaf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHLkEDs4J5C5Vud7wvWxLhPJTZ293h+AYmeM8GCAVJ0J5ot5kA@mail.gmail.com \
--to=marlon.richert@gmail.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).