- Copy the file
- There is no step 2.
<F12> to toggle mouse focus between Vim and your terminal emulator,
allowing terminal emulator mouse commands, like copy/paste.
Toggling restores the Vim 'mouse' option value to its previous value.
If you don't want to use the
<F12> key for mouse toggling, remap it to
another key. It autodetects whether it has been remapped and won't register
<F12> key if so.