進入Visual Mode并選中需要拷貝的數(shù)據(jù) 輸入命令::w !pbcopy拷貝選中的內容至系統(tǒng)剪切板 拷貝整個文件:%w !pbcopy 從系統(tǒng)剪切板粘貼內容:r !pbpaste