laixintao / problems

❓See issues.
0 stars 0 forks source link

Vim 向系统剪切板剪切 #6

Closed laixintao closed 6 years ago

northmorn commented 6 years ago

macOS " Use the OS clipboard by default (on versions compiled with +clipboard) set clipboard=unnamed

laixintao commented 6 years ago

@northmorn Thanks! It works!

Use https://github.com/laixintao/myrc/blob/e58710c4766206aa7e6c7ea4732b1fd48a151d21/.tmux.conf#L36 to copy from tmux buffer to system clipboard.

Use set clipboard=unnamed to share clipboard between vim and system.