Zsh Mailing List Archive
Messages sorted by:
Re: Mimicking tcsh line-editing behavior
- X-seq: zsh-users 14217
- From: Rhyme Tan <rhymetan@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Mimicking tcsh line-editing behavior
- Date: Fri, 3 Jul 2009 05:16:02 +0000 (GMT)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1246598163; bh=FDa4qKO21T5vk4eaBsZzJ6vRtzO/UXZqHHCrn4n87ok=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=bR9JURoViRQfXYR++JaejBXj33/lZ7twTumXJqj8rrolCdrgpxXOSVM92hOve5Tu0oW4Cs1Jo6PtIzBQQv+L6q3NrcUu/Jcc6e3MK0VoOpM8zBWYdKZUUMT3WnAspEiA4RT5c52PWmktjB3C3dziihh4U+cTCaqvbODPWssxBHg=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rocketmail.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=aPKvVK9RsTvYPzkhBbDvOaHacJxxlIN0VtDmjWPeNaFRoVNby2Lm9s26l/27eZEHzqID7v/JrKwqXxygLKOEL3YlZT0Rfo9+ttICrc/FXmYXa5TDyRtQMJk6xmiaBpV3H823+BeO7nPvYyiV2u0K3b7KvUQXHQqp2E0hN1sFpsE=;
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
On 2.7.2009, Mikael wrote:
2009/7/2 Rhyme Tan <rhymetan@xxxxxxxxxxxxxx>:
> > My default shell is tcsh. In tcsh I can use alt(meta)-backspace, alt-F or
> > alt-B to delete, or move forward or backward through a path.
> > Is there some magic config option I can pass to zsh to
> > duplicate the behavior of alt-backspace, -F, or -B) in tcsh?
> > Thanks.
> This was posted here some time ago (months, years, who knows?) and I
> have used it since:
> zle -N _backward-delete-to-space
> zle -N _forward-delete-to-space
I removed "space" as a word separator (I deleted all references
to "_my_extended_wordchars_space") since I only see spaces as
part of Mac and MS Win file names.
I also tried to simplify the bindings from:
> bindkey "^[^B" _backward-to-/
> bindkey "^[^F" _forward-to-/
bindkey "[B" _backward-to-/
bindkey "[F" _forward-to-/
But this appears to disable the file name tab completion?
> adjust the bindings to your liking obviously. It is not perfect when
> it comes across some multibyte characters i think.
Once again, thanks!
Messages sorted by: