I use putty (windows) to connect to a remote machine and my daily work revolves around coding in vim. I have to copy paste from the windows clipboard a lot, and for that I use the Shift+Insert key combination of putty. Is there a way by which I can map this combination in vim . Is there anyway I can map this to leader+p combination so that I dont have to reach all the way to insert every time?
As garyjohn explained, remote ViM and local PuTTy are not aware of one another, so you can neither tell PuTTy to send anything (i.e. leader+p) except clipboard text to remote ViM, nor tell remote ViM to ask PuTTy for the clipboard content.
You can try a couple of things though:
Hope this helps.