How to map yank to OS's clipboard in Vim? [duplicate]
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: vim: copy selection to OS X clipboard While I succeeded to map paste from clipboard ( nmap <leader>p "*p ), the same for yank ( nmap <leader>y "*y ) doesn't seem working. Actually, it yanks in Vim's clipboard. Any idea how to do it properly? I know of clipboard=unnamed but I might keep the old yank/paste vim's commands. EDIT : It seems there is some confusion about my needs. The command "*y works . So there is