I am trying to copy a selection of text from vim to another windows application…say firefox or notepad for example. However I can’t seem to do this with the y command. I have windows hotkeys enabled so by pressing ctrl-c I can achieve this but was hoping to get rid entirely of these windows commands in Vim.
Is this possible? also what about vice versa copying from windows and pasting into vim
I don’t see any harm in using Windows command keys in GVim. Alternatively, you can also use the hotkey
'+yfor yanking (copying) and'+pfor pasting to and from the system clipboard. This works on most platforms (Vim instances that are not directly attached to an X server on unix are a bit more difficult).