On 2026-05-12 23:11, Artyom Bologov wrote: | Bumping that because I didn’t see the response from Antonio and/or | other maintainers (are there any?) Is that a non-feature? Is that | going too far? | | This can also be extended to other commands, with z printing suffix | to print lines around the affected line and not only this one line. | | And maybe allow passing addresses to printing suffixes? | | But I digress. Let’s first discuss z suffix in G and maybe other | commands.
If the G/re/ command accepted a context argument, presumably dot should still be set to the line matching /re/ so that a command could be applied? Are you familiar with rlwrap <https://github.com/hanslub42/rlwrap>? See, for example: <https://github.com/slewsys/ed#command-line-editing-and-history> Being able to display addressed lines in context, as mentioned previously, along with easily recalling commands (e.g., with <CTRL> + R) comes pretty close to what a visual editor provides.
