zsh-users
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: zsh-users@sunsite.dk
Subject: Re: Return to the prompt
Date: Thu, 01 Jul 2004 11:04:17 +0200	[thread overview]
Message-ID: <21161.1088672657@trentino.logica.co.uk> (raw)
In-Reply-To: <87r7rw9uf3.fsf@ceramic.fifi.org>

Philippe Troin wrote:

> > If then I press ^V, the directory is listed, but I have to press a key in
> > order to get my command line back. I tried wierd hacks with 'zle -R' or
> > 'zle -M' for that, but there was no solution. Any hints on that?
> 
> listdir() { ls -l; zle redisplay }

Problem with that is the beginning of the ls listing can get a little
mixed up with what is currently on the command line.

I would use:
  bindkey -s '^V' $'\eqls -l\n'

Note that that relies on my also having:
  bindkey '^[q' push-input

Oliver


  parent reply	other threads:[~2004-07-01  9:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-01  5:03 Fabiano Sidler
2004-07-01  5:18 ` Philippe Troin
2004-07-01  6:46   ` Fabiano Sidler
2004-07-01  9:04   ` Oliver Kiddle [this message]
2004-07-01  9:53     ` Peter Stephenson
2004-07-01 11:05     ` Fabiano Sidler

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=21161.1088672657@trentino.logica.co.uk \
    --to=okiddle@yahoo.co.uk \
    --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).