I am wondering if there is a way to select text, paste the current clipboard to overwrite the selection, but concurrently copy the selected text to the clipboard.
I basically have two values in a document that I want to swap between variable assignment, without having to copy and move the first, then copy and move the second in place.
Context: MacOS, in chrome, but hoping for a generic answer.