๐Ÿ’พ Archived View for bbs.geminispace.org โ€บ s โ€บ Bubble โ€บ 661 captured on 2023-06-14 at 14:25:33. Gemini links have been rewritten to link to archived content

View Raw

More Information

โžก๏ธ Next capture (2023-06-16)

-=-=-=-=-=-=-

Editing

The moveable segments mechanism for drafting a post is pretty neat. But sometimes you want to edit an existing section, and copy-and-pasting is a bit annoying. I'm not sure it's a good idea, but something I'd like is an option (maybe only after you enable it in your settings) to run a sed command over an existing segment (or all segments).

Even nicer might be to have it be fully line-based, each segment a single line, so then you don't need a separate sed link for each segment and just e.g. ./sed?3-5s/foo/bar could affect lines of your choice. I'm not sure what to do with preformatted blocks though, maybe each block should be considered as a single pseudo-line...

Posted in: s/Bubble

๐Ÿš€ mbays

2023-05-21 ยท 3 weeks ago ยท ๐Ÿ‘ TheSpoonCarver

1 Comment

๐Ÿš€ skyjake

For advanced users, a sed command could be useful at least for certain types of edits. Not sure how often that would be preferable compared to copy/paste editing, though.

โ€” @mozz suggested using slash commands.

sed patterns could well be one of the available slash commands when editing a post.

Slash commands would allow for other conveniences, too, like appending to the previously existing segment contents instead of replacing.

As to line-based editing, for paragraphs that might work pretty well (you can already use a segment per paragraph), but with other types of lines the UI might get awkwardly full of action links. I suppose there's some experimentation that could be done.