9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "James A. Robinson" <jimr@highwire.stanford.edu>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] Repeating long Edit commands
Date: Wed, 16 Oct 2013 12:58:16 -0700	[thread overview]
Message-ID: <CAPd04b6QC=9h2LwDxm+SkhaUwGZOpndSPzP9PWi1a2_3Y2dTsw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 953 bytes --]

Folks,

When you use acme, is there any trick you use when repeatedly
applying an identical Edit command to separate blocks of text?

In some situations I don't have an x// that selects all of the data
to operate on so I can't set up sub commands (x/../{ ...  }).

Instead, I sometimes end up highlighting one block of text, going
to a scratch buffer and highlighting an Edit command, going back
to my file window and sending the text to Edit.

When I move on to the next block of text to Edit, I end up having
to repeat the mouse operations to re-select the Edit commands to
send.  Is there a way around this repeated selections of the Edit,
or do I have to copy the entire argument into the tag?

I was wondering if there was a solution like the Run command Russ
posted [*] that could be used with Edit?  Or do you just copy the
entire text to the tag?

[*] https://groups.google.com/d/msg/comp.os.plan9/zesfmEKFh8s/CK06uCYmVQYJ

[-- Attachment #2: Type: text/html, Size: 1340 bytes --]

             reply	other threads:[~2013-10-16 19:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-16 19:58 James A. Robinson [this message]
2013-10-16 20:23 ` erik quanstrom

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='CAPd04b6QC=9h2LwDxm+SkhaUwGZOpndSPzP9PWi1a2_3Y2dTsw@mail.gmail.com' \
    --to=jimr@highwire.stanford.edu \
    --cc=9fans@9fans.net \
    /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.
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).