kyzhaw
Last Updated: February 25, 2016
·
525
· herson
54e2ad6fd33097654a99a61818f61e0a

Copy/Cut text to clipboard in vim

You can copy text in vim to clipboard while you are on visual mode using the command "+y also, you can map the command to the Cmd-C key combination.

" Copy Text to clipboard
vmap <C-c> "+y

" Cut text to clipboard
vmap <C-x> "+d
Say Thanks
Respond