If you are on windows and you want to paste contents of system clipboard using p
then type this command.
:set clipboard = unnamed
This solved my problem.
If you are on windows and you want to paste contents of system clipboard using p
then type this command.
:set clipboard = unnamed
This solved my problem.