My workflow (I'm replying to
JohnK here, I forgot to press reply):
I have a script called c that sends what you pipe to the clipboard.
If I want to send several paragraphs from vi to the clipboard, I do, for instance: !3jc⏎
Note: For me, a line is a paragraph, because I wrap them.
If I want to send only the current paragraph, I just press q, which is a macro that does !!c⏎
Then, I press Super+Left Arrow to change to Firefox (thanks to krohnkite tiling extension on KDE Plasma), where I have ChatGPT on my English-language project .
On my project I type a dot, a space, and paste the text. A dot triggers the grammar + naturalness check on my ChatGPT project, which does many other things. For instance, if I paste:
. Crumb 2240: The High Priest: The High Priest descended to the village and was appalled by the squalor and dirt. He said, “If you want me to ever come to to visit you again, you’d better tidy up this mess,” but he didn’t lower the smothering taxes.
ChatGPT returns something like this:
Z
- Crumb 2240: The High Priest:
There are no errors.
- The High Priest descended to the village
There are no errors.
- and was appalled by the squalor and dirt.
There are no errors.
- He said,
There are no errors.
- “If you want me to ever come to to visit you again,
“to” is duplicated. Correction: “If you want me to ever come to visit you again,
- you’d better tidy up this mess,”
There are no errors.
- but he didn’t lower the smothering taxes.
There are no errors.
I
- Crumb 2240: The High Priest:
Everything else checks out.
- The High Priest descended to the village
Everything else checks out.
- and was appalled by the squalor and dirt.
Everything else checks out.
- He said,
Everything else checks out.
- “If you want me to ever come to to visit you again,
Everything else checks out.
- you’d better tidy up this mess,”
Everything else checks out.
- but he didn’t lower the smothering taxes.
Everything else checks out.
Z = grammar. I = naturalness.
Then I press Super+Right Arrow to go back to nvi and I apply the corrections.
Afterward I repeat the process until ChatGPT thinks there are no more errors.