Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to kill string but leave it in history?
- X-seq: zsh-workers 2802
- From: Jari Kokko <jkokko@xxxxxxxxxxxxxxxxxxxx>
- To: zsh-list@xxxxxxxxxxxx
- Subject: Re: How to kill string but leave it in history?
- Date: 16 Jan 1997 12:25:25 GMT
- Organization: Nokia Telecommunications
- References: <Pine.SV4.3.95.970116135536.21461I-100000@xxxxxxxxxxxxxxxxx>
- Sender: usenet@xxxxxx
In article <Pine.SV4.3.95.970116135536.21461I-100000@xxxxxxxxxxxxxxxxx>,
Andrej Borsenkow <borsenkow.msk@xxxxxx> wrote:
pound-insert (unbound) (#) (unbound)
If there is no # character at the beginning of the
buffer, add one to the beginning of each line. If
there is one, remove a # from each line that has one.
In either case, accept the current line. The
INTERACTIVE_COMMENTS option must be set for this to
have any usefulness.
So, just M-x pound-insert ENTER. Even on other shells, it is useful to
ctrl-a, insert some character or perhaps ": " and press enter.
Jari Kokko
Messages sorted by:
Reverse Date,
Date,
Thread,
Author