zsh-workers
 help / color / mirror / code / Atom feed
From: Jari Kokko <jkokko@tnso13.ntc.nokia.com>
To: zsh-list@sterling.com
Subject: Re: How to kill string but leave it in history?
Date: 16 Jan 1997 12:25:25 GMT	[thread overview]
Message-ID: <5bl6nl$2j2$1@bilbo.ntc.nokia.com> (raw)
In-Reply-To: <Pine.SV4.3.95.970116135536.21461I-100000@itsrm1.mow.sni.de>

In article <Pine.SV4.3.95.970116135536.21461I-100000@itsrm1.mow.sni.de>,
Andrej Borsenkow <borsenkow.msk@sni.de> 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


           reply	other threads:[~1997-01-16 17:12 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <Pine.SV4.3.95.970116135536.21461I-100000@itsrm1.mow.sni.de>]

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='5bl6nl$2j2$1@bilbo.ntc.nokia.com' \
    --to=jkokko@tnso13.ntc.nokia.com \
    --cc=zsh-list@sterling.com \
    /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).