zsh-workers
 help / color / mirror / code / Atom feed
From: Michel <michel.barret@gmail.com>
To: zsh-workers@zsh.org
Subject: Predefine the next buffer
Date: Sun, 9 May 2021 21:11:40 +0200	[thread overview]
Message-ID: <CADprNYmBFODaDgieHSOErz3PM6bHUVKuG9c9KBE495M9TCQw_w@mail.gmail.com> (raw)

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

Hi,

I try to have that will define the next content of my buffer. For example:
I run a command 'foo' and the next command will be pre-write with 'bar' (or
replace 'foo' by 'bar'). I imagine made it with a function, but I can't use
zle to manipulate the buffer, it seems to be required to use a widget and
run it from a shortcut.

Anyone have already tried this? Do you know how I can make it?

Thanks
_____________________
Michel BARRET

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

             reply	other threads:[~2021-05-09 19:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-09 19:11 Michel [this message]
2021-05-09 20:02 ` Peter Stephenson
2021-05-09 20:53   ` Michel

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=CADprNYmBFODaDgieHSOErz3PM6bHUVKuG9c9KBE495M9TCQw_w@mail.gmail.com \
    --to=michel.barret@gmail.com \
    --cc=zsh-workers@zsh.org \
    /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).