Digital Marketing

Fix vim inserting comments while copy and paste

Put directly from the register without ever entering insert mode, using  "+p
  • " means "use the following register";
  • + refers to the clipboard, and
  • p for put! 

run :set paste. Turn it off once you leave insert mode with :set nopaste.

Popular posts from this blog

How to fix Google Apps Script: Script function not found: doGet

Creating sort index in MySQL

How to fix: df shows no file systems processed on Linux