From: Fabiano Sidler <fabianosidler@swissonline.ch>
To: zsh-users@sunsite.dk
Subject: Re: Return to the prompt
Date: Thu, 1 Jul 2004 13:05:08 +0200 [thread overview]
Message-ID: <200407011305.08732.fabianosidler@swissonline.ch> (raw)
In-Reply-To: <21161.1088672657@trentino.logica.co.uk>
Oliver Kiddle wrote:
> 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
Yes, that's also nice! ;) Thanks for the idea.
Fips
prev parent reply other threads:[~2004-07-01 11:05 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
2004-07-01 9:53 ` Peter Stephenson
2004-07-01 11:05 ` Fabiano Sidler [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=200407011305.08732.fabianosidler@swissonline.ch \
--to=fabianosidler@swissonline.ch \
--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).