I am learning to use vim, so I switched the key bindings on LeetCode to Vim mode.
The problem that arose: I cannot copy code from the LeetCode code editor window in the browser using Ctrl+C.
Solution: Ctrl + Insert
Failed attempts:
Using the y command to copy the code to a register, for example, "0y, then opening local vim and using the reg command to check the register contents, I found that the code was not copied over, failure.
Copying to LeetCode: Ctrl + Shift + v