码迷,mamicode.com
首页 > 系统相关 > 详细

chrome插件vimium的安装

时间:2018-04-08 18:04:39      阅读:1701      评论:0      收藏:0      [点我收藏+]

标签:tab   pre   ext   oid   iss   nav   change   pac   match   

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

chrome插件vimium的安装

标签:tab   pre   ext   oid   iss   nav   change   pac   match   

原文地址:https://www.cnblogs.com/shengulong/p/8745949.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!