Reply:...:Editor(3pm)

πŸ“¦
version 0.42 Β· 5 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’… NAME πŸ’…

Reply::Plugin::Editor β€” the little command that lets you go edit your current line in a whole actual text editor, bestie ✨

(that's the Reply::...::Editor(3pm) situation, for the record πŸŽ€)


🌸 VERSION 🌸

version 0.42 β€” yes queen, that's the one πŸ‘‘


✨ SYNOPSIS ✨

okay so first you gotta tell it what's up in your .replyrc, like:

; .replyrc
[Editor]
editor = emacs

and that's literally it. iconic behaviour. 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so this plugin is the one that hands you the #e command πŸ’–

what it does: it launches your editor, lets you vibe-edit little bits of code in there, and then the whole thing gets evaluated all at once when you're done. no cap. πŸ”₯

and the best part?? the text you entered gets saved, and it gets restored the next time you run the command. your lil code snippet is waiting for you like a loyal bestie πŸ₯Ήβœ¨

OR β€” and this is the plot twist β€” you can pass a filename to the #e command instead, and then the contents of that file get preloaded in there for you. choices!! options!! main character energy fr fr πŸ‘‘

also there's the editor option, which you can set if you wanna specify a different editor to use. if you don't set it, it'll just fall back to whatever $ENV{VISUAL} or $ENV{EDITOR} is giving πŸ’…

lowkey important: it's $ENV{VISUAL} first, then $ENV{EDITOR}. the vibe check happens in that order, iykyk.

πŸŽ€ AUTHOR πŸŽ€

Jesse Luehrs <doy@tozt.net> β€” thank you for your service, king πŸ«‘πŸ’œ


This software is Copyright (c) 2016 by Jesse Luehrs.

This is free software, licensed under:

The MIT (X11) License

slay, permissive licensing, we love to see it πŸ’–


and that's the whole page, bestie!! this one was documented on 2022-06-17 and it's running under perl v5.34.0 β€” go forth and edit your lines in style πŸ§šπŸ’«πŸŒΈ

πŸ“¦ where this page comes from