From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: zsh-workers@sunsite.auc.dk
Subject: Context-sensitive ZLE
Date: Wed, 21 Jun 2000 10:05:58 -0700 [thread overview]
Message-ID: <000621100558.ZM31361@candle.brasslantern.com> (raw)
Now that the completion system is able to set up all this wonderful context,
I'm wondering about being able to use it elsewhere in zle.
For example, I'd like backward-kill-word to stop at dots when I'm editing
an IP address in an ssh or telnet command, but to delete past dots and stop
at slashes when I'm editing a file name.
It can almost be done with a completion function that figures out how to
modify the word and then calls compadd -U, but that doesn't work for e.g.
transpose-words (or anything else that spans more than one word).
next reply other threads:[~2000-06-21 17:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-21 17:05 Bart Schaefer [this message]
2000-06-22 7:13 Sven Wischnowsky
2000-06-22 13:17 Sven Wischnowsky
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=000621100558.ZM31361@candle.brasslantern.com \
--to=schaefer@candle.brasslantern.com \
--cc=zsh-workers@sunsite.auc.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).