Crouton Clipboard
插件截图
插件概述
Link between crouton clipboard and Chrome OS插件详情
# Crouton Clipboard### Prerequisites
* NodeJS
* Git
### About
Crouton clipboard integrates the Chrome OS clipboard with the [crouton](https://github.com/dnschneid/crouton) linux instance clipboard without running the display (so, only when you use the CLI).
Whenever you copy something on Chrome OS, it is automatically written to ~/.crouton-clipboard/data, and whenever you write to ~/.crouton-clipboard/data, it is automatically copied to your clipboard on Chrome OS.
### Installation
First you want to clone [Crouton Clipboard®](https://github.com/zwhitchcox/crouton-clipboard) and add `node ~/.crouton-clipboard/server` to your `.bashrc`. You can do this manually, or just type
`curl -sL https://cdn.rawgit.com/zwhitchcox/crouton-clipboard/master/install.sh`
into your console, and this will be done automagically.
Next, you need to install the Crouton Clipboard Extension® which will create a websocket server in the background, and listen on each page for the clipboard event, sending it to the server, which is created by `server.js`.
### Vim Integration
I created this for vim, so I didn't have to copy and paste using the chrome interface, so to install for vim, all you have to do is add the following to your `vimrc`
```vim
nnoremap "*p :r !cat $HOME/.crouton-clipboard/data
vnoremap "*y :'<,'>w! $HOME/.crouton-clipboard/data
```
Note: This is automatically done by `install.sh`
Then, to copy and paste from the "system" clipboard in vim, just type `"*y` and `"*p`.
For more info on Chrome development, please see my [video on my Chrome OS DX](https://www.youtube.com/watch?v=O_fWX_vEUGA).
其他信息
官方唯一标识:jipofmba****************anhfljif
官方最后更新日期:2016年10月15日
分类:开发者工具
大小:50.23KiB
版本:1.1
语言:English
提供方:none
星级:3.8
插件下载
| 下载链接一 下载链接二 |
| Chrome插件离线安装教程 |
温馨提示
本站中的部份内容来源网络和网友发布,纯属个人收集并供大家交流学习参考之用,版权归版权原作者所有。
如果您发现网站上有侵犯您的知识产权的作品,请与我们取得联系,我们会及时修改或删除。
如果您觉得网多鱼对您有帮助,欢迎收藏我们 Ctrl+D。