Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: backward-dir/forward-dir
- X-seq: zsh-users 10373
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: "David Kulp" <dkulp@xxxxxxxxxxxx>
- Subject: Re: backward-dir/forward-dir
- Date: Thu, 15 Jun 2006 15:04:37 +0200
- Cc: zsh-users@xxxxxxxxxx
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=P/kN3racyhfAijO8LSgGNrXy/HF/28/zVAoWzlnZv7OQmySmRPRyzxFH5P+vczFQXTIOsjJuefm9jE/DeXSKimfdDEO6S2f92spawlVMXPOQ+OB54uuSTCYcZEc4OKwsOsVefIzp2i3sxeCyAm0wwPCi5SDBtNC/Cxonk5lAIYU=
- In-reply-to: <F2D2D01E-449C-4734-8464-B396C0335670@xxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <F2D2D01E-449C-4734-8464-B396C0335670@xxxxxxxxxxxx>
On 6/15/06, David Kulp <dkulp@xxxxxxxxxxxx> wrote:
Is there a key binding that allows me to move forward or back to the
next slash in a file path?
In emacs shell mode, M-b and M-f will move the cursor to the next
level of a /long/path/to/file.
In zsh, M-b and M-f jump over the entire path. But I usually want to
make a small edit in an existing path.
Strangely, I have noticed that ":" also serves as a word delimiter,
so M-b or M-f will stop on the colon for host:/path. So that
suggests to me that there's a set of word delimiters defined somewhere?
Thanks in advance.
I don't quite remember where i got this from, but it does what you
want, http://mikachu.ath.cx/slask/dot-delete-to , if someone wants to
replicate it inline so it's archived go ahead, but i don't trust gmail
to get everything right.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author