{"action":"created","issue":{"url":"https://api.github.com/repos/zhuyujiess/daily-note/issues/233","repository_url":"https://api.github.com/repos/zhuyujiess/daily-note","labels_url":"https://api.github.com/repos/zhuyujiess/daily-note/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/zhuyujiess/daily-note/issues/233/comments","events_url":"https://api.github.com/repos/zhuyujiess/daily-note/issues/233/events","html_url":"https://github.com/zhuyujiess/daily-note/issues/233","id":324691286,"number":233,"title":"vim复制剪切到系统剪切板","user":{"login":"zhuyujiess","id":34830512,"avatar_url":"https://avatars1.githubusercontent.com/u/34830512?v=4","gravatar_id":"","url":"https://api.github.com/users/zhuyujiess","html_url":"https://github.com/zhuyujiess","followers_url":"https://api.github.com/users/zhuyujiess/followers","following_url":"https://api.github.com/users/zhuyujiess/following{/other_user}","gists_url":"https://api.github.com/users/zhuyujiess/gists{/gist_id}","starred_url":"https://api.github.com/users/zhuyujiess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhuyujiess/subscriptions","organizations_url":"https://api.github.com/users/zhuyujiess/orgs","repos_url":"https://api.github.com/users/zhuyujiess/repos","events_url":"https://api.github.com/users/zhuyujiess/events{/privacy}","received_events_url":"https://api.github.com/users/zhuyujiess/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-20T07:59:09Z","updated_at":"2018-05-20T08:19:51Z","closed_at":null,"author_association":"OWNER","body":"首先需要检测本机vim是否支持系统剪切板,输入下述命令\r\n```\r\nvim --version | grep clipboard\r\n```\r\n在ubuntu 16.04版本中输入上面命令，输出信息如下：\r\n![image](https://user-images.githubusercontent.com/34830512/40276781-774a7ec0-5c45-11e8-8d19-888e94c88797.png)\r\n\r\n由上图可知，本机不支持系统剪切板，执行下面命令即可：\r\n```\r\nsudo apt-get install vim vim-scripts vim-gtk vim-gnome\r\n```\r\n\r\n[参考](https://www.cnblogs.com/qiyuexin/p/7057686.html)"},"comment":{"url":"https://api.github.com/repos/zhuyujiess/daily-note/issues/comments/390465462","html_url":"https://github.com/zhuyujiess/daily-note/issues/233#issuecomment-390465462","issue_url":"https://api.github.com/repos/zhuyujiess/daily-note/issues/233","id":390465462,"user":{"login":"zhuyujiess","id":34830512,"avatar_url":"https://avatars1.githubusercontent.com/u/34830512?v=4","gravatar_id":"","url":"https://api.github.com/users/zhuyujiess","html_url":"https://github.com/zhuyujiess","followers_url":"https://api.github.com/users/zhuyujiess/followers","following_url":"https://api.github.com/users/zhuyujiess/following{/other_user}","gists_url":"https://api.github.com/users/zhuyujiess/gists{/gist_id}","starred_url":"https://api.github.com/users/zhuyujiess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhuyujiess/subscriptions","organizations_url":"https://api.github.com/users/zhuyujiess/orgs","repos_url":"https://api.github.com/users/zhuyujiess/repos","events_url":"https://api.github.com/users/zhuyujiess/events{/privacy}","received_events_url":"https://api.github.com/users/zhuyujiess/received_events","type":"User","site_admin":false},"created_at":"2018-05-20T08:19:51Z","updated_at":"2018-05-20T08:19:51Z","author_association":"OWNER","body":"## 牢记两个命令\r\n复制：\"+y　　// 在vim中复制内容到系统剪切板。\r\n\r\n粘贴：\"+gp　//把系统剪切板中的内容粘贴到vim中去。\r\n\r\n"}}
{"actor":{"display_login":"zhuyujiess"}}