Hacker News new | ask | show | jobs
by 97-109-107 20 days ago
Here's a few use cases that are in the same territory, which I tried address at various stages with emacs and scripts.

1. Everything I ever paste (which is longer than >N) will be saved into a file. The assumption being is that it's an e-mail or message with high reuse potential

2. I have a single keybind that launches a script-selector and passes the currently selected text to it.

3. Script examples: save selection as markdown in a preset file (for use with LLMs); send selection to a temporary emacs buffer.

4. I have two shortcut that - take the current text area into emacs to edit it; then, send the emacs buffer back to the current selected area (by pasting). Useful for replying to messages