zsh-workers
 help / color / mirror / code / Atom feed
* Re: How to kill string but leave it in history?
       [not found] <Pine.SV4.3.95.970116135536.21461I-100000@itsrm1.mow.sni.de>
@ 1997-01-16 12:25 ` Jari Kokko
  0 siblings, 0 replies; only message in thread
From: Jari Kokko @ 1997-01-16 12:25 UTC (permalink / raw)
  To: zsh-list

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-01-16 17:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Pine.SV4.3.95.970116135536.21461I-100000@itsrm1.mow.sni.de>
1997-01-16 12:25 ` How to kill string but leave it in history? Jari Kokko

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).