chrome插件vimium的安装

时间:2018-04-08 18:04:39   收藏:0   阅读:1701

1、chrome商店里有的,但是,我怎么安装,都不行

2、源码安装:http://vimium.github.io/

https://github.com/philc/vimium

git clone git@github.com:philc/vimium.git

 

步奏:

Installing From Source

Vimium is written in Coffeescript, which compiles to Javascript. To install Vimium from source:

  1. Install Coffeescript.
  2. Run cake build from within your vimium directory. Any coffeescript files you change will now be automatically compiled to Javascript.
  3. Navigate to chrome://extensions
  4. Toggle into Developer Mode
  5. Click on "Load Unpacked Extension..."
  6. Select the Vimium directory.

但是cake build的时候遇到错误  shortFlag = shortFlag != null ? shortFlag.match(SHORT_FLAG)[1] : void 0;

技术分享图片

解决办法 https://github.com/philc/vimium/issues/2671

原因是vimium不支持coffe v2,安装一个1xx的版本即可  sudo npm install --global coffeescript@1.12.7

 

 

需要先安装 coffeescript,方法,当然如果没有npm,你就的安装npm了

npm install --global coffeescript
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!