zsh-users
 help / color / mirror / code / Atom feed
From: "sam reckoner" <sam.reckoner@gmail.com>
To: "Peter Stephenson" <p.w.stephenson@ntlworld.com>
Cc: zsh-users@sunsite.dk
Subject: Re: How to get cursor navigation of completion menu working?
Date: Fri, 3 Mar 2006 15:10:51 -0800	[thread overview]
Message-ID: <6a42eec70603031510ndd04f99n6b5f12a541fc9a2c@mail.gmail.com> (raw)
In-Reply-To: <200603032207.k23M7NVF004243@pwslaptop.csr.com>

[-- Attachment #1: Type: text/plain, Size: 2773 bytes --]

Hmm. that's not doing it. I'm probably doing something wrong in zshrc.
Here's my zshrc:

==================

# customize zsh behaviour
#
autoload -U colors
autoload -U compinit
colors
stty susp ^Z
stty erase ^H
#
setopt ALLEXPORT
setopt ALWAYSLASTPROMPT
setopt ALWAYSTOEND
setopt APPENDHISTORY
setopt AUTOCD
setopt AUTOLIST
setopt AUTOMENU
setopt AUTOMENU
setopt AUTOPARAMKEYS
setopt AUTOPUSHD
setopt AUTOREMOVESLASH
setopt COMPLETEINWORD
setopt CORRECTALL
setopt EXTENDEDGLOB
setopt HISTIGNOREDUPS
setopt HISTNOSTORE
setopt HISTIGNORESPACE
setopt IGNOREEOF
setopt LISTAMBIGUOUS
setopt LISTTYPES
setopt MARKDIRS
setopt MONITOR
setopt NOBEEP
setopt NOCLOBBER
setopt NOHUP
setopt NOLISTBEEP
setopt NUMERICGLOBSORT
setopt PUSHDMINUS
setopt PUSHDSILENT
setopt PUSHDTOHOME
setopt PUSHD_IGNORE_DUPS
#
export EDITOR='vi -u NONE'
export FCEDIT='vi -u NONE'
export PROMPT='%h> '
export PROMPT2='%_> '
export RPROMPT='%B%2C%b'
export CYGWIN=nontsec
export DIRSTACKSIZE=10
export PATH="$PATH":"/cygdrive/c/PROGRA~1/Vim/vim64"
export PRINTER='HP LaserJet 5/5M PostScript'
export HISTSIZE=1000
export HISTFILE=/home/Jose/.zsh_history
export SAVEHIST=1000
export SHELL=zsh
#
#
# customize completion
#
compctl -g '*.gz' + gunzip
compctl -g '*.tar' + tar
compctl -j -P "%" + kill fg disown
compctl -g '*(-/)' cd
compctl -g '*(^/)' + less
compctl -g '*(^/)' + gvim
compctl -g '*(^/)' + v
compctl -g '*zip' + unzip zip zipinfo zipgrep zipcloak zipnote zipsplit
compctl -o setopt unsetopt
# bind some keystrokes. Makes it emacs compatible
#
bindkey -v
bindkey '\CX' execute-named-cmd
bindkey '\CO' push-line-or-edit
bindkey '\CS' history-incremental-search-forward
#
bindkey '\x01' beginning-of-line
bindkey '\x02' beginning-of-line-hist
bindkey '\x05' end-of-line-hist
bindkey '\x0e' copy-prev-word
bindkey '\v' kill-line
bindkey '\x10' insert-last-word
bindkey '\x12' history-incremental-search-backward
bindkey '^[OA' up-line-or-search
bindkey '^[OB' down-line-or-search
bindkey '^[[A' up-line-or-search
bindkey '^[[B' down-line-or-search
zmodload zsh/stat
zmodload zsh/complist

=================

On 3/3/06, Peter Stephenson <p.w.stephenson@ntlworld.com> wrote:
>
> "sam reckoner" wrote:
> > My understanding from reading the user's guide is that there is a way to
> > cursor-navigate the listed completions. However, I can't figure out how
> to
> > get this to work.
>
> If you're using the new completion system (with compinit) you can set:
>
>   zstyle ':completion:*' menu select
>
> The instructions are buried in the entry for the menu style in the
> zshcompsys manual page.
>
> --
> Peter Stephenson <p.w.stephenson@ntlworld.com>
> Web page still at http://www.pwstephenson.fsnet.co.uk/
>

[-- Attachment #2: Type: text/html, Size: 3431 bytes --]

      reply	other threads:[~2006-03-03 23:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-03 21:02 sam reckoner
2006-03-03 21:22 ` DervishD
2006-03-03 22:07 ` Peter Stephenson
2006-03-03 23:10   ` sam reckoner [this message]

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=6a42eec70603031510ndd04f99n6b5f12a541fc9a2c@mail.gmail.com \
    --to=sam.reckoner@gmail.com \
    --cc=p.w.stephenson@ntlworld.com \
    --cc=zsh-users@sunsite.dk \
    /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).