how to copy codes in vi to clipboard
You need to use the clipboard register, which is *, so to copy a line of text into clipboard: “*yy To paste a line of text from the clipboard: “*p
You need to use the clipboard register, which is *, so to copy a line of text into clipboard: “*yy To paste a line of text from the clipboard: “*p